Difference between revisions of "LocaleWML"
From The Battle for Wesnoth Wiki
m (→the toplevel [locale] tag) |
(Added info on the alternates= key) |
||
Line 9: | Line 9: | ||
* '''sort_name''': A name which will be used when sorting all the languages alphabetically. | * '''sort_name''': A name which will be used when sorting all the languages alphabetically. | ||
* '''locale''': The locale corresponding with this language. | * '''locale''': The locale corresponding with this language. | ||
+ | * '''alternates''': Other locales to associate with this language. | ||
* '''dir''': The direction of text in this language, possible values ''ltr'' (default left-to-right) and ''rtl'' (right-to-left). | * '''dir''': The direction of text in this language, possible values ''ltr'' (default left-to-right) and ''rtl'' (right-to-left). | ||
Revision as of 00:20, 31 December 2010
The toplevel [locale] tag
Each [locale] tag represents one language. Languages are selected by pressing the "Language" button in the title screen.
The following keys and tags are recognized in [locale] tags:
- name: The name of this language.
- sort_name: A name which will be used when sorting all the languages alphabetically.
- locale: The locale corresponding with this language.
- alternates: Other locales to associate with this language.
- dir: The direction of text in this language, possible values ltr (default left-to-right) and rtl (right-to-left).