Added Japanese, Korean, and Dutch localizations and expanded supported languages (#320)
This commit is contained in:
parent
bcf34af719
commit
dc5196526f
27 changed files with 5237 additions and 20 deletions
|
|
@ -181,6 +181,8 @@ android {
|
|||
}
|
||||
|
||||
fun String.toAndroidResourceConfiguration(): String {
|
||||
if (this == "id") return "in"
|
||||
|
||||
val languageTagParts = split("-")
|
||||
return if (languageTagParts.size == 2 && languageTagParts[1].length == 2) {
|
||||
"${languageTagParts[0]}-r${languageTagParts[1].uppercase()}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue