1
0
Fork 0
fgdata/Translations/locale.xml
Florent Rougon 2f420d4c5c Translations: rename Translations/en to Translations/default
This is mainly to make it clear that the "translation" in (after this
commit) Translations/default, a priori corresponding to en_US, has a
special status: it acts as the source describing the set of translatable
strings, each with its id (an XML tag name) and numeric index (a
PropertyList index, often 0 but not always).

In the upcoming i18n infrastructure, the files in Translations/default
will be used to:
  - detect all translatable strings (~ string extraction);
  - detect obsolete translated strings (those in XLIFF files but not in
    Translations/default anymore);

This will allow a script to update the XLIFF files containing real
translations, i.e., update the source strings and possibly remove
obsolete entries.

So, the files in Translations/default have a special "master" status in
this process, and are technically quite different from those in
Translations/de, Translations/es, Translations/fr, etc. The latter XML
files (those not in Translations/default) will be replaced with their
XLIFF equivalent, by the way (conversion script already working).

See discussion at
<https://sourceforge.net/p/flightgear/mailman/message/35910579/>.
2017-07-13 16:06:53 +02:00

219 lines
5.1 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<locale n="0">
<lang type="string">en</lang>
<lang type="string">en_AU</lang>
<lang type="string">en_CA</lang>
<lang type="string">en_GB</lang>
<lang type="string">en_US</lang>
<lang type="string">POSIX</lang>
<lang type="string">C</lang>
<lang type="string">default</lang>
<strings>
<options>Translations/default/options.xml</options>
<menu>Translations/default/menu.xml</menu>
<sys>Translations/default/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
<tips>Translations/default/tips.xml</tips>
</strings>
</locale>
<locale>
<lang type="string">es</lang>
<lang type="string">es_AR</lang>
<lang type="string">es_MX</lang>
<lang type="string">es_ES</lang>
<strings>
<options>Translations/es/options.xml</options>
<menu>Translations/es/menu.xml</menu>
<sys>Translations/es/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
<tips>Translations/es/tips.xml</tips>
</strings>
</locale>
<locale>
<lang type="string">de</lang>
<lang type="string">de_AT</lang>
<lang type="string">de_CH</lang>
<lang type="string">de_DE</lang>
<strings>
<options>Translations/de/options.xml</options>
<menu>Translations/de/menu.xml</menu>
<sys>Translations/de/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
</strings>
</locale>
<locale>
<lang type="string">fr</lang>
<lang type="string">fr_BE</lang>
<lang type="string">fr_CA</lang>
<lang type="string">fr_CH</lang>
<lang type="string">fr_FR</lang>
<strings>
<options>Translations/fr/options.xml</options>
<menu>Translations/fr/menu.xml</menu>
<sys>Translations/fr/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
<tips>Translations/fr/tips.xml</tips>
</strings>
</locale>
<locale>
<lang type="string">it</lang>
<lang type="string">italian</lang>
<lang type="string">it_CH</lang>
<lang type="string">it_IT</lang>
<strings>
<options>Translations/it/options.xml</options>
<menu>Translations/it/menu.xml</menu>
<sys>Translations/it/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
<tips>Translations/it/tips.xml</tips>
</strings>
</locale>
<locale>
<lang type="string">nl</lang>
<lang type="string">nl_BE</lang>
<lang type="string">nl_NL</lang>
<strings>
<options>Translations/nl/options.xml</options>
<menu>Translations/nl/menu.xml</menu>
<sys>Translations/nl/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
</strings>
</locale>
<locale>
<lang type="string">pl</lang>
<lang type="string">pl_PL</lang>
<strings>
<options>Translations/pl/options.xml</options>
<menu>Translations/pl/menu.xml</menu>
<sys>Translations/pl/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
</strings>
</locale>
<locale>
<lang type="string">zh</lang>
<lang type="string">zh_CN</lang>
<strings>
<options>Translations/zh_CN/options.xml</options>
<!-- Chinese startup tips disabled for now because the
font used to display them in FlightGear's splash
screen doesn't have the required glyphs
(2017-06-25). cf.
https://sourceforge.net/p/flightgear/fgdata/merge-requests/92/
-->
<!-- <tips>Translations/zh_CN/tips.xml</tips> -->
</strings>
</locale>
<locale>
<!-- test character encoding using - -language=TEST -->
<lang type="string">TEST</lang>
<strings>
<options>Translations/test/options.xml</options>
<menu>Translations/test/menu.xml</menu>
</strings>
</locale>
<!--
<locale>
<lang type="string">cs</lang>
<strings>
<options>Translations/cs/options.xml</options>
<menu>Translations/cs/menu.xml</menu>
<sys>Translations/cs/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
</strings>
</locale>
<locale>
<lang type="string">da</lang>
<lang type="string">da_DK</lang>
<strings>
<options>Translations/da/options.xml</options>
<menu>Translations/da/menu.xml</menu>
<sys>Translations/da/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
</strings>
</locale>
<locale>
<lang type="string">el</lang>
<strings></strings>
</locale>
<locale>
<lang type="string">fi</lang>
<lang type="string">fi_FI</lang>
<strings></strings>
</locale>
<locale>
<lang type="string">hu</lang>
<strings></strings>
</locale>
<locale>
<lang type="string">is</lang>
<lang type="string">is_IS</lang>
<strings></strings>
</locale>
<locale>
<lang type="string">no</lang>
<lang type="string">no_NO</lang>
<strings></strings>
</locale>
-->
<locale>
<lang type="string">pt</lang>
<lang type="string">pt_BR</lang>
<lang type="string">pt_PT</lang>
<strings>
<options>Translations/pt/options.xml</options>
<menu>Translations/pt/menu.xml</menu>
<sys>Translations/pt/sys.xml</sys>
<atc>Translations/default/atc.xml</atc>
</strings>
</locale>
<!--
<locale>
<lang type="string">ru</lang>
<strings></strings>
</locale>
<locale>
<lang type="string">sk</lang>
<strings></strings>
</locale>
<locale>
<lang type="string">sv</lang>
<lang type="string">sv_SE</lang>
<strings></strings>
</locale>
<locale>
<lang type="string">tr</lang>
<strings></strings>
</locale>
-->
</PropertyList>