Commit Graph

5 Commits

Author SHA1 Message Date
utelle
deef116a09 Update language database and move support for it to wxUILocale
Update the language database from the canonical sources:

- It now includes most locales supported by Windows 10.
- It now also has the following attributes for each entry:
 - BCP 47-like locale tag.
 - Reference to canonical name for generic language entries.
 - Language name in this language itself.
- Also add data file with list of language script identifiers and
  aliases based on ISO 15924.
- And update genlang.py to handle all the new attributes and data.

Also move database-related methods of wxLocale to wxUILocale and
just redirect wxLocale methods to the new wxUILocale ones (they are
still preserved for compatibility).

Closes https://github.com/wxWidgets/wxWidgets/pull/2594
2021-11-27 17:44:20 +01:00
Václav Slavík
79309be9db Fixed a typo in misc/languages/README.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-04 16:38:56 +00:00
Václav Slavík
ea14492351 Split intl.h into intl.h, language.h and translation.h.
To make the code more manageable, intl.h now contains wxLocale and
translation.h all translations-related stuff (wxTranslations, _() etc.).
Code generated by genlang.py was moved into its own files (language.h,
languageinfo.cpp).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-24 07:06:32 +00:00
Vadim Zeitlin
741cca6b38 update the intl.* files directly from genlang.py script instead of generating snippets which had then to be manually pasted in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-07 10:52:44 +00:00
Václav Slavík
d3f3e35f54 new locales code checked in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-10 18:31:26 +00:00