-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
"Shields" text in Trackers and ads panel is not translated #22550
Comments
I am not sure if this is intentional, but that string ( {getLocale('braveShields').replace('Brave ', '').trim()}
So this is not a missing translation issue. This needs to get addressed in code. cc: @nullhook |
Reproduced in Polish PL locale, for
|
"Shields" is part of the product name and I'm not sure we should translate this. |
According to the style guide:
cc: @rmcfadden3 to confirm |
@mkarolin — thx for checking. So, yes, this was the rule. But @laurentiugruia is overseeing localization strategy now, and I'm not sure if that rule has changed. @laurentiugruia — wdyt on this one? |
Confirming the rule from the style guide has not changed. |
@laurentiugruia @rmcfadden3 As per my comment at brave/brave-core#14768 (review), is it therefore logical to only have the product name translated (e.g. "Shields") and we prefix the word "Brave" ourselves in the UI? Would Brave always precede the translated product name, in all languages? |
@petemill In some languages Brave precedes the translated "Shields", in other languages it comes after so I think the solution would be to have "Brave Shields" as the string to translate. |
Verified
|
Brave | 1.46.76 Chromium: 107.0.5304.62 (Official Build) beta (x86_64) |
---|---|
Revision | 1eec40d3a5764881c92085aaee66d25075c159aa-refs/branch-heads/5304@{#942} |
OS | macOS Version 11.7 (Build 20G817) |
Steps:
- installed
1.46.76
- launched Brave (in English)
- loaded
cnn.com
- set respective languages as the primary one, below, via
Apple
->System Preferences
->Language & Region
- clicked on the
Shields
icon in the URL bar - clicked on the
Blocked-cookies count
- looked at the translated string for
Shields
Confirmed all were translated, except for German, which I'll spin-off as a separate issue and cross-reference, here.
French |
German (*) |
Hindi |
Kannada |
Polish |
---|---|---|---|---|
Logged #26216 |
Description
Found while testing #22514
Shields text in Trackers and ads panel is not translated in other locales
Steps to Reproduce
Actual result:
Shields text in Trackers and ads panel is not translated in other locales
Expected result:
Shields text in Trackers and ads panel should be translated to other locales
Reproduces how often:
Easy
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
cc: @brave/qa-team @rebron @mkarolin
The text was updated successfully, but these errors were encountered: