-
Notifications
You must be signed in to change notification settings - Fork 975
data-l10n-id and translation #2638
Comments
Also,
etc. appear in English. Edit: there are some strings in the hamburger menu which have been translated but not applied due to the bug. |
Would like this soon but moving to 0.11.3 for now. @luixxiul pls revolt if this was working on a previous version of Brave. |
@aekeus some parts of the UI isn't being translated, changing the language in the html file des seem to translate to that language though. Could you take a look at this one? |
Sure thing |
After some investigation it seems all components are affected by this issue. It seems like only the default locale is being loaded. Console output: [91167:0812/115126:WARNING:resource_bundle.cc(319)] locale_file_path.empty() for locale fr_FR |
The defaultLanguage meta attribute in index.html is overriding the currently selected language. navigator.language is correctly set to 'fr-FR'.
|
Fixed thanks to Aubrey, BrianJ too. |
Describe the issue you encountered:
The strings in
data-l10n-id
appear in UI in English while they were translated. For example<label data-l10n-id='nameField' htmlFor='bookmarkName' />
in addEditBookmark.js showsTitle:
, even though it has been translated and the language is set to other than English on about:preferences.Expected behavior:
The text was updated successfully, but these errors were encountered: