translate-tools / linguist

Translate web pages, highlighted text, Netflix subtitles, private messages, speak the translated text, and save important translations to your personal dictionary to learn words even offline

Home Page:https://linguister.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working with Brave - Could not load manifest

shazwozza opened this issue · comments

CRX install method:
Downloaded .zip and .crx
Enabled developer mode in Brave extension manager.
Dragged and dropped .crx in extension manager .crx.
Shows up in extension manager but with error message:
"This extension is not listed in the Brave Web Store and may have been added without your knowledge. "

chromium.zip file install method:
I unzipped linguist .zip file into a folder.
Click load unpacked in extension manager.
Select folder and hit ok.
Error message (below).
I also unzipped the .crx file and tried loading the folder unpacked but it came with the same error:

Error message loading unpacked:
Failed to load extension
File
~\Downloads\linguist
Error
Invalid locale file 'C:\Users\username\Downloads\linguist_locales\gu\messages.json': Variable $translator_name$ used but not defined.
Could not load manifest.

Last error seems as duplicate of #403
I will fix this problem soon.

Is Guam language set as default language in your system or browser?

English is default language for system and browser.

It looks the Brave browser preloads all localization files. Is Linguist works for you in google chrome?

It seems as duplicate of #403, i will fix this when will have time to analyze all localization files and add test for it, in near 1-2 weeks

I added in Chrome by drag and dropping the .crx file with developer mode enabled.
It shows up in extension list but it cannot be enabled.
In the description it says
"This extension is not listed in the Chrome Web Store and may have been added without your knowledge. Learn more"

@shazwozza yeah, i know about this nonsense behavior of chromium browsers, try to install from google app store: https://chrome.google.com/webstore/detail/gbefmodhlophhakmoecijeppjblibmie

If i add through that link - it says "Blocked by your organization."
Your organization blocked this file because it didn't meet a security policy.

EDIT: Never mind. It seems like Ublock Origin was interfering with that process.
Linguist seems to be working in Chrome with some preliminary tests.

Found a fix at least temporarily

Go to regedit:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\BraveSoftware\Brave\ExtensionInstallAllowlist
Add String Value
Inside the "Value data:" - Copy the ID that is found in brave://extensions/ underneath the Linguist extension.
Restart browser

This extension worked when I installed it for Brave through the Chrome web store.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

Been fixed in #403

Thanks for your reports