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

How to ignore strings for translation with pseudo-localization switched on? #1346

Open
sdoward opened this issue Mar 18, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@sdoward
Copy link

sdoward commented Mar 18, 2024

Description
I would like to use the pseudo-localization feature released in 1.3.2. However I have some strings that should not be translated. I can see here that we can do 2 things so strings are not translated...

  • set folder configuration qualifier to null
  • include donottranslate in the relative path of the source file

How can I do either of those things? I can't find anything in the documentation.

I have already marked the string as translatable="false" but as far as I understand: paparazzi doesn't honor that as of yet.

@sdoward sdoward added the bug Something isn't working label Mar 18, 2024
@kevinzheng-ap
Copy link
Collaborator

kevinzheng-ap commented Apr 10, 2024

@sdoward Yes, Paparazzi doesn't honor translatable="false" today.

You can place your string resources under path such as res/values/donottranslate.xml, then those strings will not be pseudo localized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants