amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.93k stars 557 forks source link

Add translatable=false to Android String resource template #893

Open DanielNovak opened 2 years ago

DanielNovak commented 2 years ago

The Android String resource template (link to file) should also probably contain translatable="false" because these are not real text strings that can be translated. These are usually just some font or resource names. Android Studio and Lint complain that we are missing translations for these string resources.

https://developer.android.com/studio/write/translations-editor#untranslatable

Example how it's used:

<string name="app_name" translatable="false">EasyApp</string>