Lines Matching refs:locale
13 This will print all the files that need to be updated or translated in the zh_CN locale.
21 No translation in the locale of zh_CN
170 def valid_locales(locale):
171 """Check if the locale is valid or not"""
174 if not os.path.isdir(f"{linux_path}/Documentation/translations/{locale}"):
175 raise ArgumentTypeError("Invalid locale: {locale}")
176 return locale
242 "--locale",
287 # insert the translations and locale after the Documentation directory
288 new_path_parts = path_parts[:kindex + 1] + ["translations", args.locale] \
297 logging.info("No translation in the locale of %s\n", args.locale)