Conversation
Deleting incompatible Paintroid/src/main/res/values-kab-rKAB/string.xml (Berber translation) --- error was: ``` 08:02:50 > /home/catroid/jenkins_slave/workspace/Paintroid_develop/Paintroid/src/main/res/values-kab-rKAB: Error: Invalid resource directory name ```
Incorrect combination of tw (Twi) with TW (Taiwan) translation resource --- lint warning: ``` Suspicious Language/Region Combination Suspicious language and region combination tw (Twi) with TW (Taiwan): language tw is usually paired with: GH (Ghana) Android uses the letter codes ISO 639-1 for languages, and the letter codes ISO 3166-1 for the region codes. In many cases, the language code and the country where the language is spoken is the same, but it is also often not the case. For example, while 'se' refers to Sweden, where Swedish is spoken, the language code for Swedish is **not** `se` (which refers to the Northern Sami language), the language code is `sv`. And similarly the region code for `sv` is El Salvador. This lint check looks for suspicious language and region combinations, to help catch cases where you've accidentally used the wrong language or region code. Lint knows about the most common regions where a language is spoken, and if a folder combination is not one of these, it is flagged as suspicious. Note however that it may not be an error: you can theoretically have speakers of any language in any region and want to target that with your resources, so this check is aimed at tracking down likely mistakes, not to enforce a specific set of region and language combinations. ```
harsh-hash
pushed a commit
to harsh-hash/Paintroid
that referenced
this pull request
Apr 28, 2021
* Fix crowdin import Deleting incompatible Paintroid/src/main/res/values-kab-rKAB/string.xml (Berber translation) --- error was: /home/catroid/jenkins_slave/workspace/Paintroid_develop/Paintroid/src/main/res/values-kab-rKAB: Error: Invalid resource directory name * Delete combination tw (Twi) with TW (Taiwan) Incorrect combination of tw (Twi) with TW (Taiwan) translation resource --- lint warning: Suspicious Language/Region Combination Suspicious language and region combination tw (Twi) with TW (Taiwan): language tw is usually paired with: GH (Ghana) Android uses the letter codes ISO 639-1 for languages, and the letter codes ISO 3166-1 for the region codes. In many cases, the language code and the country where the language is spoken is the same, but it is also often not the case. For example, while 'se' refers to Sweden, where Swedish is spoken, the language code for Swedish is **not** `se` (which refers to the Northern Sami language), the language code is `sv`. And similarly the region code for `sv` is El Salvador. This lint check looks for suspicious language and region combinations, to help catch cases where you've accidentally used the wrong language or region code. Lint knows about the most common regions where a language is spoken, and if a folder combination is not one of these, it is flagged as suspicious. Note however that it may not be an error: you can theoretically have speakers of any language in any region and want to target that with your resources, so this check is aimed at tracking down likely mistakes, not to enforce a specific set of region and language combinations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.