mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-12 10:00:38 +01:00
Docs: LazUtils/lazutf8. Updates content in LazGetShortLanguageID for changes in d05dd86b.
This commit is contained in:
parent
a87136316e
commit
b0aa7ba6ea
@ -2862,15 +2862,24 @@ appends the country code to the value in Lang.
|
|||||||
</element>
|
</element>
|
||||||
|
|
||||||
<element name="LazGetShortLanguageID">
|
<element name="LazGetShortLanguageID">
|
||||||
<short>Removes country information from a language ID.</short>
|
<short>
|
||||||
|
Returns the current short language ID (without the country code).
|
||||||
|
</short>
|
||||||
<descr>
|
<descr>
|
||||||
<p>
|
<p>
|
||||||
<var>LazGetShortLanguageID</var> strips country information from the language
|
<var>LazGetShortLanguageID</var> strips country information from the language
|
||||||
ID, making it simpler to use. Ideally the resulting ID should conform to ISO
|
ID, making it simpler to use. Ideally the resulting ID should conform to ISO
|
||||||
639-1, or ISO 639-2 when the language code is not in ISO 639-1.
|
639-1 (2-digit code like 'ru' or 'en'), or ISO 639-2 (3-digit code like 'rus'
|
||||||
|
or 'eng') when the language code is not in ISO 639-1.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Calls LazGetLanguageIDs to lookup the language identifiers. It uses the
|
||||||
|
fallback language ID as the value for the Lang argument.
|
||||||
</p>
|
</p>
|
||||||
</descr>
|
</descr>
|
||||||
<seealso/>
|
<seealso>
|
||||||
|
<link id="LazGetLanguageIDs"/>
|
||||||
|
</seealso>
|
||||||
</element>
|
</element>
|
||||||
<element name="LazGetShortLanguageID.Lang">
|
<element name="LazGetShortLanguageID.Lang">
|
||||||
<short>Language ID examined in the routine.</short>
|
<short>Language ID examined in the routine.</short>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user