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

{camelCase} parameter gets automagically translated #53

Open
fgarciaDev opened this issue Mar 12, 2020 · 1 comment
Open

{camelCase} parameter gets automagically translated #53

fgarciaDev opened this issue Mar 12, 2020 · 1 comment

Comments

@fgarciaDev
Copy link

Default string value, in 'en-US.json', has a camelcase param in the string and it ends up being translated, but ONLY for 'es' language. I have added 'fr' and 'ru' langs as well, but those strings are translated and keep the parameter name as intended. I mention the camelcase because I have params without camelcase and they are all correctly translated.

Default en-US ==         "hoursParked" : "{hoursParked} hours parked",
Translated es-MX.json => "hoursParked": "{horas estacionadas} horas estacionadas",
Translated fr-CA.json => "hoursParked": "{hoursParked} heures de stationnement",
Translated ru-RU.json => "hoursParked": "{hoursParked} на стоянке",
@fgarciaDev fgarciaDev changed the title {camelCase} is translated {camelCase} parameter gets automagically translated Mar 13, 2020
@gnudles
Copy link

gnudles commented Feb 1, 2021

Does it happen in the dart code generation, or in the json files by the google translate api?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants