// Modified by: Michael N. Filippov <michael@idisys.iae.nsk.su>
// (2003/09/30 - plural forms support)
// Created: 29/01/98
// Modified by: Michael N. Filippov <michael@idisys.iae.nsk.su>
// (2003/09/30 - plural forms support)
// Created: 29/01/98
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
{
int Language; // wxLanguage id
wxString CanonicalName; // Canonical name, e.g. fr_FR
{
int Language; // wxLanguage id
wxString CanonicalName; // Canonical name, e.g. fr_FR
// return the locale name corresponding to this language usable with
// setlocale() on the current system
// return the locale name corresponding to this language usable with
// setlocale() on the current system
// for Unix systems GetLocaleName() is trivial so implement it inline here, for
// MSW it's implemented in intl.cpp
// for Unix systems GetLocaleName() is trivial so implement it inline here, for
// MSW it's implemented in intl.cpp
// plural form version of the same:
const wxString& GetString(const wxString& origString,
const wxString& origString2,
// plural form version of the same:
const wxString& GetString(const wxString& origString,
const wxString& origString2,
const wxString& domain = wxEmptyString) const
{
return wxGetTranslation(origString, origString2, n, domain);
const wxString& domain = wxEmptyString) const
{
return wxGetTranslation(origString, origString2, n, domain);