Languages
The Languages node () contains a list of all language files for an app. See Creating Language Files for Localization of Apps for information about localizing apps with language files. See also the settings for localization in The Main Window Node.
The Settings window contains the following section.
List of Languages
This section contains all embedded .properties text resource files available for app localization. The table of files for the localization contains the following columns: Name, Language, Encoding, and Description.
The default name in the Name column is the filename. The names for the language properties files are typically the same as the application’s filename with the ISO 639-1 standard language code (in lowercase letters) and ISO 3166 country code (in uppercase letters) added, such as tubular_reactor_en_US.properties for a file with American English. The extension is .properties.
The Language column is used to find a suitable language file. The list contains Undefined and all languages that are supported in the COMSOL Desktop. It is used to find a suitable language file when the app has been configured to use the language preference setting in the COMSOL Desktop.
The Encoding column represents the character encoding of the file; you determine the encoding when you create the language file. The encoding list contains the following encodings: US-ASCII, ISO-8859-1, UTF-8 (the default) and UTF-16.
The Description column contains a description of the language file, if desired.
Use the Move Up (), Move Down (), and Delete () buttons to edit and arrange the list of files. The top (first) entry in the list of languages becomes a fallback localization, if needed. Click the Add File to Library button () to browse for resource properties files, select one, and then click Open to add it to the list of languages. Click the Replace File button () to select a new file to replace an existing entry in the table. The replace changes the file data only; the name of the entry remains unchanged. Click the Export Selected Language File button () to save the selected language file from the library to the file system.