Difference between revisions of "LocaleWML"
From The Battle for Wesnoth Wiki
m (→the toplevel [locale] tag) |
m (→The toplevel [locale] tag) |
||
(2 intermediate revisions by the same user not shown) | |||
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 with | + | * '''locale''': The locale corresponding to the language. |
− | * '''dir''': The direction of text in | + | * '''alternates''': Other locales to associate with the language. |
+ | * '''dir''': The direction of text in the language, possible values are ''ltr'' (default left-to-right) and ''rtl'' (right-to-left). | ||
== See Also == | == See Also == |
Latest revision as of 00:25, 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 are ltr (default left-to-right) and rtl (right-to-left).
See Also
This page was last edited on 31 December 2010, at 00:25.