Difference between revisions of "LocaleWML"
From The Battle for Wesnoth Wiki
(Reworded some stuff) |
m (→The toplevel [locale] tag) |
||
Line 10: | Line 10: | ||
* '''locale''': The locale corresponding to the language. | * '''locale''': The locale corresponding to the language. | ||
* '''alternates''': Other locales to associate with 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). | + | * '''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.