Lines Matching refs:locale
55 # Return an exit code based on whether a locale exists.
57 # @param locale The locale to search for.
217 locales=$(locale -a)
219 locales=$(locale -m)
225 locale=$(basename "$file" ".msg")
231 # Check if the locale exists and if not skip.
232 localeexists "$locales" "$locale" "$destdir"
245 printf 'Installing %s...' "$locale"
248 loc=$(gen_nlspath "$destdir/$nlspath" "$locale" "$main_exec")
262 locale=$(basename "$file" ".msg")
267 localeexists "$locales" "$locale" "$destdir"
276 loc=$(gen_nlspath "$destdir/$nlspath" "$locale" "$main_exec")
284 printf 'Linking %s...' "$locale"
291 locale=$(basename "$link" .msg)
292 linksrc=$(gen_nlspath "$nlspath" "$locale" "$main_exec")
296 # If the target file doesn't exist (because it's for a locale that is