From aa1248fa3ba2002ceef8a7ad67c91bc821b5fac7 Mon Sep 17 00:00:00 2001 From: dsiders Date: Fri, 2 Jun 2023 03:10:18 +0100 Subject: [PATCH] Docs: LazUtils/lazutf8. Adds the LazTrimLanguageID topic for changes in 42bcafe2, e7b16e08. --- docs/xml/lazutils/lazutf8.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/xml/lazutils/lazutf8.xml b/docs/xml/lazutils/lazutf8.xml index c5b53d3d0b..533737770c 100644 --- a/docs/xml/lazutils/lazutf8.xml +++ b/docs/xml/lazutils/lazutf8.xml @@ -2876,6 +2876,32 @@ ID, making it simpler to use. Ideally the resulting ID should conform to ISO Language ID examined in the routine. + + +Returns the language identifier with an encoding suffix removed from the +specified value. + + +

+The Lang argument can sometimes can be in the form 'ru_RU.utf8', +which will preventloading files with language in the form '.ru_RU.po'. This +procedure trims the encoding value from the argument. +

+
+ +Added in LazUtils version 2.4.0. + + +TranslateUnitResourceStringsEx + +
+ + +Variable parameter with the language identifier examined and modified in the +routine. + + + Contains uppercase characters for all values in the char type.