Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: chrome/app/tweak_mac_lproj_folders

Issue 171040: add the InfoPlist.strings generation based on GRD strings.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/nuke_mac_resources_link ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/tweak_mac_lproj_folders
===================================================================
--- chrome/app/tweak_mac_lproj_folders (revision 24091)
+++ chrome/app/tweak_mac_lproj_folders (working copy)
@@ -19,4 +19,15 @@
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"
« no previous file with comments | « chrome/app/nuke_mac_resources_link ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698