Module localisation
[hide private]
[frames] | no frames]

Module localisation

source code

Localisation related function. * Parsing of languages.xml

Classes [hide private]
  Languages
Languages.xml file parser.
Functions [hide private]
 
get_all_variations(languages_xml)
Returns a list of all regional variations supported by platform.
source code
 
get_languages_for_variation(languages_xml, variation='western')
Returns alist of all supported languages for a specific region.
source code
 
_apply_override(overrides, line) source code
 
create_locales_iby(product, lid, flags=None, prefix='', suffix='')
Function that generates locales_xx.iby into rom product folder.
source code
 
find_variant_path(config, key=VARIANT_ID_KEY)
This function helps to find the variant directory using variant configuration
source code
Variables [hide private]
  VARIANT_ID_KEY = 'variant.id'
  VARIATION_DIR_KEY = 'variation.dir'