diff options
Diffstat (limited to 'chrome/app/tweak_mac_lproj_folders')
-rwxr-xr-x | chrome/app/tweak_mac_lproj_folders | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/app/tweak_mac_lproj_folders b/chrome/app/tweak_mac_lproj_folders index d15c858..78dba5b 100755 --- a/chrome/app/tweak_mac_lproj_folders +++ b/chrome/app/tweak_mac_lproj_folders @@ -19,4 +19,15 @@ cd "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents/Resources" rm -rf "zh.lproj" "en.lproj" # Provide an link for en.lproj that points to en-US.lproj. + +# The standard OS language list includes English (en) and not a specific +# "flavor" such as U.S. English (en-US). When checking for a language match, +# the OS will remove subtags if no exact match is found, so that en will be +# used if the user's preferred language list only contains British English +# (en-GB) and no specific en-GB translation is available. +# +# To ensure that users with the default language list, which contains English +# without any regional subtag, as well as users with a specific variant of +# English with a regional subtag, will have access to an English-localized +# application, a symbolic link from en.lproj to en-US.lproj is provided. ln -fhs "en-US.lproj" "en.lproj" |