Skip to content

Commit

Permalink
Merge pull request #69 from tosky/master
Browse files Browse the repository at this point in the history
Add mapping for id (in), he (iw), yi (ji)
  • Loading branch information
miracle2k committed Jun 28, 2020
2 parents b793a0f + 439c154 commit a141df6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions android2po/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,21 @@ class IncompleteEnvironment(EnvironmentError):

ANDROID_LOCALE_MAPPING = {
'from': {
'in_ID': 'id_ID',
'in': 'id',
'iw_IL': 'he_IL',
'iw': 'he',
'ji': 'yi',
'zh_CN': 'zh_Hans_CN',
'zh_HK': 'zh_Hant_HK',
'zh_TW': 'zh_Hant_TW'
},
'to': {
'id': 'in',
'id_ID': 'in_ID',
'he': 'iw',
'he_IL': 'iw_IL',
'yi': 'ji',
'zh_Hans_CN': 'zh_CN',
'zh_Hant_HK': 'zh_HK',
'zh_Hant_TW': 'zh_TW'
Expand Down

0 comments on commit a141df6

Please sign in to comment.