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

Add i189 for Chromium store entries #1271

Merged
merged 6 commits into from
Jul 14, 2024

Conversation

Jaifroid
Copy link
Member

Fixes #1118. According to the messages I receive when uploading an extension to the Edge or Chrome Stores, in order to internationalize the Store entry it is necessary to internationalize the manifests, adding those languages supported by the app. I've followed https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization, but I don't know for sure that this will do the trick until I attempt to upload the generated extension ZIPs.

We don't use the Chrome i18n module for i18n within the app, as we use a much simpler string-substitution system, and I'm not going to change that any time soon, especially as i18n for this app needs to work in multiple contexts, not just extensions.

@Jaifroid Jaifroid added this to the v4.1 milestone Jul 12, 2024
@Jaifroid Jaifroid requested a review from audiodude July 12, 2024 08:50
@Jaifroid Jaifroid self-assigned this Jul 12, 2024
@Jaifroid Jaifroid added the extensions Code relating to the production or running of browser extensions label Jul 12, 2024
Copy link
Collaborator

@audiodude audiodude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Jaifroid
Copy link
Member Author

Thanks, I'm going to see if I can do a test draft upload from this branch to the Edge Store to see if this actually does the job I want it to do...

@Jaifroid
Copy link
Member Author

Hmm, something is wrong uploading and zipping the _locales directory. I'll debug tomorrow.

@Jaifroid
Copy link
Member Author

Jaifroid commented Jul 13, 2024

LOL, I forgot to add the _locales directory in the rollup config, doh...

@Jaifroid
Copy link
Member Author

Yay, it works, finally!

image

Now I just have to work out why the "Description" field is empty when I thought included it....

@Jaifroid
Copy link
Member Author

OK, so description in Edge Store at least isn't taken from the manifest, so I think this PR is complete now.

@Jaifroid Jaifroid merged commit 35f6592 into main Jul 14, 2024
10 checks passed
@Jaifroid Jaifroid deleted the Add-i18n-for-Chrome-and-Edge-Store-entries branch July 14, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility extensions Code relating to the production or running of browser extensions i18n Internationalization information
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translate the Store information (Mozilla, Chrome, Edge, Ubuntu) into at least French and Spanish
2 participants