From 13f5b7b08834c28d43d788f8e05bd23defb99b1c Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Tue, 11 Jan 2022 22:12:48 +0100 Subject: [PATCH] Fixed Hebrew language code for Android Signed-off-by: Alexander Borsuk --- lib/twine/formatters/android.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/twine/formatters/android.rb b/lib/twine/formatters/android.rb index 01468cf..00b9cbb 100644 --- a/lib/twine/formatters/android.rb +++ b/lib/twine/formatters/android.rb @@ -12,8 +12,10 @@ module Twine 'zh' => 'zh-Hans', 'zh-CN' => 'zh-Hans', 'zh-HK' => 'zh-Hant', - 'en-GB' => 'en-GB', - 'in' => 'id' + # See https://developer.android.com/reference/java/util/Locale#legacy-language-codes + 'iw' => 'he', + 'in' => 'id', + 'ji' => 'yi' ] def format_name