-
-
Notifications
You must be signed in to change notification settings - Fork 654
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-on store - Add-on information is in English #14973
Comments
Hi @CyrilleB79, thanks for making an issue for this. |
Testing with NVDA Alpha-28584,5c4e6e1f all add-ons installed from the store have the name and description in english, since the information is based on .JSON file... |
Part of #14973 Summary of the issue: Installed add-ons do not have their display name and description localised, even if localised manifests exist for the installed add-on. Description of user facing changes Reinstate localisation for installed add-ons of the display name and description Description of development approach Fetch translated strings from the localised manifests Testing strategy: Ensure add-on with localisations is correctly displayed in the installed add-ons tab of the store. Available and updatable add-ons rely on the strings to be translated when fetching from the store.
Alpha should now be using translated add-on store data correctly in the available and updatable add-on tab views |
Not in alpha-28690,08de8de3 Maybe next Alpha... |
Edition of my previous comment: This works in alpha if language is not set to default. If I set the language to Spanish it works well. |
#15152) Closes #14973 Summary of the issue: Add-ons installed from the add-on store used the untranslated add-on store JSON strings. As of #15137, only add-ons that were installed from an external source had translated strings. Description of user facing changes Add-ons installed from the add-on store will have translated strings. Description of development approach Create a separate model for add-ons fetched from the add-on store, and add-ons cached after being installed from the add-on store. Data fetched from the add-on store should be translated. Installed cached data for an add-on will be whatever language is used when the fetched add-on store data is cached. As such, we should defer to the translated manifests for installed add-ons.
@nvdaes - I am surprised if NVDA language is set to default, that this does not work. When using default language, and a Spanish system, can you confirm the value of |
cachedLanguage value is es_ES (not just es)
El 17/07/2023 a las 8:50, Sean Budd escribió:
… @nvdaes - I am surprised if NVDA language is set to default, that this does not work. When using default language, and a Spanish system, can you confirm the value of `cachedLanguage` in `_cachedCompatibleAddons.json` ?
|
Same here: not working with system language = "fr_FR" vs working with forced language = "fr". @seanbudd could you please reopen? Also when fixing this, it may be interesting to test with:
|
Tried using only "pt" as NVDA language and add-on information is not translated. |
@ruifontes how can you use only "pt" as NVDA language? NVDA only has "pt_BR" and "pt_PT", not "pt" without country name. Please be more specific because, as explained before, the case of Portuguese is a corner case in NVDA and specific issues may occur only with this language.
Is this linked to this issue, i.e. the add-on store content being in English? If not, please open a separate issue. |
Reopening, since I realize I can do it myself. |
Hi, the “pt” folder is part of add-on datastore views branch, caused by add-ons including “pt” in their locale folder. This confirms that manifest folder structure is taken into account when constructing localized metadata, therefore it is really up to add-ons to resolve this. Thanks.
|
The add-on store server should now fallback to language without locale, if the language with locale is unsupported |
There is still an issue with "pt_PT" not listing the add-ons having only "pt". I have opàened #15173 for this. |
Steps to reproduce:
Actual behavior:
The add-on name and the add-on description are in English no matter NVDA's language.
Expected behavior:
The add-on name and description should honor NVDA's language if a translation exists in the add-on.
NVDA logs, crash dumps and other attachments:
N/A
System configuration
NVDA installed/portable/running from source:
Portable
NVDA version:
nvda_snapshot_alpha-28355,02199b76
Windows version:
Windows 10 21H2 (AMD64) build 19044.2965
Name and version of other software in use when reproducing the issue:
N/A
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your computer?
Not tested
Have you tried any other versions of NVDA? If so, please report their behaviors.
N/A
If NVDA add-ons are disabled, is your problem still occurring?
N/A
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Not tested, unrelated
Additional note
The text was updated successfully, but these errors were encountered: