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) |
||
Line 1: | Line 1: | ||
{{WML Tags}} | {{WML Tags}} | ||
− | == | + | == The toplevel [locale] tag == |
Each [locale] tag represents one language. Languages are selected by pressing the "Language" button in the title screen. | Each [locale] tag represents one language. Languages are selected by pressing the "Language" button in the title screen. |
Revision as of 00:14, 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.
- dir: The direction of text in this language, possible values ltr (default left-to-right) and rtl (right-to-left).