1Zanata::Util::Locale(3)User Contributed Perl DocumentatioZnanata::Util::Locale(3)
2
3
4
5 make_pattern($localeStr, $projType)
6 Convert locale string to regex pattern
7
8 find_locale_paths($localeStr, $dir [, $dirCompare])
9 Find locale paths.
10
11 localeStr
12 Locate to be found.
13
14 dir Directory to start the search (must be absolute path)
15
16 dirCompare (Optional)
17 If specified, contents of found paths must also exist in this
18 directory. (must be absolute path)
19
20 zanata_language_list_parse_locales($url)
21 Parse the language list from a Zanata server and put the result to
22 a hash. Language is the key and a reference to an array [ Name,
23 NativeName, Members] is value.
24
25 Arguments
26
27 url Zanata Server url
28
29 Returns: A language hash which Or undef if xml does not contain any
30 locale
31
33 Hey! The above document had some coding errors, which are explained
34 below:
35
36 Around line 249:
37 '=item' outside of any '=over'
38
39 =over without closing =back
40
41
42
43perl v5.28.1 2019-02-03 Zanata::Util::Locale(3)