Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with Brave - Could not load manifest #407

Open
shazwozza opened this issue Nov 21, 2023 · 8 comments
Open

Not working with Brave - Could not load manifest #407

shazwozza opened this issue Nov 21, 2023 · 8 comments
Labels
duplicate This issue or pull request already exists

Comments

@shazwozza
Copy link

shazwozza commented Nov 21, 2023

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.

@vitonsky
Copy link
Collaborator

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?

@vitonsky vitonsky added the questions Further information is requested label Nov 22, 2023
@shazwozza
Copy link
Author

English is default language for system and browser.

@vitonsky
Copy link
Collaborator

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

@vitonsky vitonsky added duplicate This issue or pull request already exists and removed questions Further information is requested labels Nov 27, 2023
@shazwozza
Copy link
Author

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"

@vitonsky
Copy link
Collaborator

@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

@shazwozza
Copy link
Author

shazwozza commented Nov 27, 2023

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.

@shazwozza
Copy link
Author

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

@hamirmahal
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants