LocaleWML: Difference between revisions
From The Battle for Wesnoth Wiki
Added info on the alternates= key |
Reworded some stuff |
||
| Line 2: | Line 2: | ||
== The toplevel [locale] tag == | == The toplevel [locale] tag == | ||
Each [locale] tag represents | Each [locale] tag represents a language. Languages are selected in the dialog summoned by pressing the "Language" button in the title screen. | ||
The following keys | The following keys are recognized in [locale] tags: | ||
* '''name''': The name of | * '''name''': The name of the language. | ||
* '''sort_name''': | * '''sort_name''': The name that will be used when sorting all of the languages alphabetically. | ||
* '''locale''': The locale corresponding | * '''locale''': The locale corresponding to the language. | ||
* '''alternates''': Other locales to associate with | * '''alternates''': Other locales to associate with the language. | ||
* '''dir''': The direction of text in | * '''dir''': The direction of text in the language, possible values ''ltr'' (default left-to-right) and ''rtl'' (right-to-left). | ||
== See Also == | == See Also == | ||
Revision as of 00:23, 31 December 2010
The toplevel [locale] tag
Each [locale] tag represents a language. Languages are selected in the dialog summoned by pressing the "Language" button in the title screen.
The following keys are recognized in [locale] tags:
- name: The name of the language.
- sort_name: The name that will be used when sorting all of the languages alphabetically.
- locale: The locale corresponding to the language.
- alternates: Other locales to associate with the language.
- dir: The direction of text in the language, possible values ltr (default left-to-right) and rtl (right-to-left).
See Also
This page was last edited on 31 December 2010, at 00:23.