X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30738aae14dfbce0c492d8696c861947228028c2..328a3a009fd86bb7df6efc4e0086074af34846ab:/docs/doxygen/overviews/nonenglish.h?ds=sidebyside diff --git a/docs/doxygen/overviews/nonenglish.h b/docs/doxygen/overviews/nonenglish.h index b1b52d18cc..37fc8cae43 100644 --- a/docs/doxygen/overviews/nonenglish.h +++ b/docs/doxygen/overviews/nonenglish.h @@ -3,10 +3,10 @@ // Purpose: topic overview // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -/*! +/** @page overview_nonenglish Writing Non-English Applications @@ -102,9 +102,7 @@ Windows). How is this done? When you tell the wxLocale class to load a message catalog that contains a correct header, it checks the charset. The catalog is then converted to the charset used (see wxLocale::GetSystemEncoding and -wxLocale::GetSystemEncodingName) by the user's operating system. This is the -default behaviour of the wxLocale class; you can disable it by @b not passing -@c wxLOCALE_CONV_ENCODING to wxLocale::Init. +wxLocale::GetSystemEncodingName) by the user's operating system. @section overview_nonenglish_strings Non-English Strings or 8-bit Characters in Source @@ -112,7 +110,7 @@ default behaviour of the wxLocale class; you can disable it by @b not passing By convention, you should only use characters without diacritics (i.e. 7-bit ASCII strings) for msgids in the source code and write them in English. -If you port software to wxWindows, you may be confronted with legacy source +If you port software to wxWidgets, you may be confronted with legacy source code containing non-English string literals. Instead of translating the strings in the source code to English and putting the original strings into message catalog, you may configure wxWidgets to use non-English msgids and translate to @@ -123,7 +121,7 @@ English using message catalogs: @li Specify the source code language and charset as arguments to wxLocale::AddCatalog. For example: @code - locale.AddCatalog(_T("myapp"), wxLANGUAGE_GERMAN, _T("iso-8859-1")); + locale.AddCatalog(wxT("myapp"), wxLANGUAGE_GERMAN, wxT("iso-8859-1")); @endcode