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

CLI - Ability to specify tools:locale #46

Open
D-Fox opened this issue Jun 29, 2022 · 1 comment
Open

CLI - Ability to specify tools:locale #46

D-Fox opened this issue Jun 29, 2022 · 1 comment
Assignees

Comments

@D-Fox
Copy link

D-Fox commented Jun 29, 2022

In order to make Lint checks work properly for default (without language folder suffix) resource xml, tools:locale must be defined in resources xml tag:

<resources xmlns:tools="http://schemas.android.com/tools" tools:locale="cs">

It would be nice to be able to specify this this through .phrase.yml or CLI argument.

@forelabs
Copy link
Member

forelabs commented Mar 7, 2024

Thank you for the suggestion and sorry for the really late reply. We will consider to add a format option for android xml files to include the tools:locale definition according to the documentation: https://developer.android.com/studio/write/tool-attributes#toolslocale

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

3 participants