Add link to ISO 639 language codes to the documentation

This can be useful as not all of them are really obvious.
This commit is contained in:
Vadim Zeitlin
2021-08-29 18:56:36 +02:00
parent e27497774a
commit ddd60d5a39

View File

@@ -192,12 +192,15 @@ public:
/** /**
Set language. Set language.
Return reference to @this for method chaining. Return reference to @this for method chaining.
See https://www.loc.gov/standards/iso639-2/php/English_list.php for the
list of all language codes.
@param language @param language
It is a lowercase ISO 639 language code. A two-letter ISO 639-1 language code or a three-letter ISO 639-2
The codes from ISO 639-1 are used when available. code for the languages without ISO 639-1 codes.
Otherwise, codes from ISO 639-2/T are used.
*/ */
wxLocaleIdent& Language(const wxString& language); wxLocaleIdent& Language(const wxString& language);