- TranslateLCLResourceStrings is a String function used to translate resource strings in the LCLStrConsts.pas unit to the language identifier specified in the Lang argument. Lang can contain a value as defined in ISO 639, at: ISO 639 - Codes for the Representation of Names of Languages. For example: 'de' or 'ru'. An empty string ('') causes the default language for the system to be used.
+ TranslateLCLResourceStrings is a String function used to translate resource strings in the LCLStrConsts.pas unit to the language identifier specified in the Lang argument. Lang can contain a value as defined in ISO 639, at:
+
+
+
+ ISO 639 - Codes for the Representation of Names of Languages
+ .
+
+
+ For example: 'de' or 'ru'. An empty string ('') causes the default language for the system to be used.
Dir is the optional path where .po or .mo files with the translated values for string constants are located. An empty string ('') causes the predefined directories, like 'languages' or 'locale', to be used. This is the location where the lclstrconsts.<Lang>.po or lclstrconsts.<Lang>.mo localization file for the lclstrconsts.pas unit is stored.
@@ -361,7 +371,12 @@
SetDefaultLang is a procedure used to the set the default language used for string translations.
- Lang contains the Language identifier used to translate strings. Lang contains a value as defined in ISO 639, at: ISO 639 - Codes for the Representation of Names of Languages
+ Lang contains the Language identifier used to translate strings. Lang contains a value as defined in ISO 639, at:
+
+
+
+ ISO 639 - Codes for the Representation of Names of Languages
+
The default value for the parameter is an empty string (''), and indicates that the default language identifier for the system should be used. This value can be passed as a command line argument (like '--lang ru' or '--lang=es'). The value also can be overridden using the LANG environment variable. The fallback value is the language identifier for the platform. For Windows, this is the language code and country code from GetLocaleInfo in a format like 'en_US' or 'zh_CN'. For other platforms, the value from either the LC_ALL or LC_MESSAGE environment variables is used as the fallback.
diff --git a/docs/xml/lcl/xmlpropstorage.xml b/docs/xml/lcl/xmlpropstorage.xml
index 491b812d10..b7e61f5481 100644
--- a/docs/xml/lcl/xmlpropstorage.xml
+++ b/docs/xml/lcl/xmlpropstorage.xml
@@ -36,19 +36,29 @@
- Wrapper class around XMLConf.TXMLConfig.
+ Wrapper for the TXMLConfig class defined in the FCL XMLConf.pp unit.
-
-
-
+
+
+ More information about TXMLConfig and XMLConf are available on the FPC wiki at:
+
+
+ XMLConf
+
+
+ TXMLConfig
+
+
+
+ Deletes sub nodes on a path.
-
-
-
+
+
+
@@ -59,9 +69,9 @@
Loads XML content from a stream.
-
-
-
+
+
+
@@ -72,9 +82,9 @@
Saves XML content to a stream.
-
-
-
+
+
+
@@ -85,9 +95,9 @@
Contains the XML document.
-
-
-
+
+
+
@@ -95,52 +105,52 @@
Implements the base class for the XML Form's Session Properties Storage.
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+ Getter for the property TCustomXMLPropStorage.FileName.
-
-
-
+
+
+
@@ -153,9 +163,9 @@
Returns the name of the RootSection.
-
-
-
+
+
+
@@ -168,9 +178,9 @@
Turns '.' notation into '/' notation for the XPATH-like implementation in XMLConf.
-
-
-
+
+
+
@@ -188,16 +198,16 @@
Property to access the TPropStorageXMLConfig.
-
-
+
+ Ask the underlying storage object for an entry.
-
-
-
+
+
+
@@ -208,17 +218,17 @@
Frees an entry from the underlying storage object.
-
-
-
+
+
+ Implements the actual reading of a value from the underlying storage container.
-
-
-
+
+
+
@@ -246,9 +256,9 @@
Implements writing of a string value to the underlying storage container.
-
-
-
+
+
+
@@ -269,9 +279,9 @@
Erases a section from the underlying storage container.
-
-
-
+
+
+
@@ -284,15 +294,15 @@
Name of the file where the property data is saved in XML format.
-
-
+
+ Name of the root object path on your XML file.
-
-
+
+
@@ -300,8 +310,8 @@
Implements a class for XML Form Session Properties storage.
-
-
+
+
TForm.SessionProperties
TINIPropStorage
@@ -311,62 +321,62 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
@@ -393,7 +403,7 @@
SetFullPathValue
-
+
TConfigStorage
@@ -595,9 +605,9 @@
Registers TXMLPropStorage on the 'Misc' tab of the component palette.
-
-
-
+
+
+