-
Notifications
You must be signed in to change notification settings - Fork 210
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
Localization issues in premium.ftl #3240
Comments
I double-checked with @mathjazz, and I was wrong in assuming that this would trigger Pontoon's plural UI 😞
We need the full plurals, even if that doesn't make a lot of sense for English
|
This is a super-sketchy chain of cursed greps, but we might have about 8 spots where we only have an git grep -In -B1 "\*\[other\]" -- locales/en locales-pending/ | grep -A1 -E "\->$"locales-pending/onboarding.ftl-18- $dataBrokerTotalCount ->
locales-pending/onboarding.ftl:19: *[other] With just a few key pieces of information, we’ll search for you in all known data breaches and { $dataBrokerTotalCount } major data broker sites. All users get the first scan free.
--
locales-pending/onboarding.ftl-58- $breachesTotalCount ->
locales-pending/onboarding.ftl:59: *[other] { $breachesScannedCount } of { $breachesTotalCount } known data breaches
--
locales-pending/onboarding.ftl-65- $dataBrokerTotalCount ->
locales-pending/onboarding.ftl:66: *[other] { $dataBrokerScannedCount } of { $dataBrokerTotalCount } data broker sites
--
locales-pending/premium.ftl-96- { $exposure_num ->
locales-pending/premium.ftl:97: *[other] { $exposure_num } found
--
locales/en/app.ftl-388- { $breachCount ->
locales/en/app.ftl:389: *[other] This email appeared in { $breachCount } known data breaches, including { $breachName }.
--
locales/en/app.ftl-637- { $numAffectedEmails ->
locales/en/app.ftl:638: *[other] { $numAffectedEmails } of your email addresses appeared in this breach. <a>What to do next</a>
--
locales/en/app.ftl-692- { $numResolvedBreaches ->
locales/en/app.ftl:693: *[other] { $numResolvedBreaches } Resolved
--
locales/en/app.ftl-704- { $numTotalBreaches ->
locales/en/app.ftl:705: *[other] { $numResolvedBreaches } out of { $numTotalBreaches } breaches marked as resolved |
Update: apparently, I got the incorrect answer :-( https://pontoon.mozilla.org/af/firefox/all-resources/?string=219592 This is an example showing that having
Having a singular form (that is unused) is not bad, just not necessary. |
Sorry for causing the confusion - I misinterpreted the question. 🤦 |
This file hasn't been consistently reviewed for localization issues, and there are a few.
When a string uses plurals, we should use this form to trigger the plural UI in Pontoon.
We keep repeating this
190
number. Can we revisit this decision and put a value (e.g. "hundreds") that is going to be valid even if the number changes? To properly translate this, we need to make it plural, which means some locales will have to translate the same sentence 6 times. And we use this 190 number a lot, more than seems necessary.This is not something we can translate: there is no support for multiple plurals in one strings. Content needs to be changed to only have one plural per string.
This content is broken even for English when any of the variables is 1.
The text was updated successfully, but these errors were encountered: