Difference between revisions of "LocaleWML"
From The Battle for Wesnoth Wiki
(Created page with '{{WML Tags}} == the toplevel [locale] tag == Each [locale] tag represents one language. Languages are selected by pressing the "Language" button in the title screen. The follow…') |
m (→The toplevel [locale] tag) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{WML Tags}} | {{WML Tags}} | ||
− | == | + | == 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.