Lines Matching full:locales
86 def WriteIndex(path, locales, cldr_version=None):
94 for locale in locales:
113 # Go through the list and generate res_index.txt for locales, brkitr,
122 locales = set()
146 locales.add(line[:end])
153 "locales": locales,
160 for locales in kind_to_locales.itervalues():
161 every_locale = every_locale.union(locales)
164 for kind, locales in kind_to_locales.items():
165 print "%s=%s" % (kind, sorted(locales))
179 for kind, locales in kind_to_locales.items():
181 if not locale in locales and os.path.exists(p):
190 WriteIndex(os.path.join(TMP_DAT_PATH, res_index), locales, CLDR_VERSION)
191 for kind, locales in kind_to_locales.items():
192 if kind == "locales":
194 WriteIndex(os.path.join(TMP_DAT_PATH, kind, res_index), locales)
198 for kind, locales in kind_to_locales.items():
199 if kind == "locales":