Placeholders for language encodings and project variables

The available language encodings support naming conventions as used in Microsoft .NET, for example, and may be used to extend the target file name or path. The following placeholders can be used in the path definitions

PlaceholderDescriptionExample
<LangID>

Numerical language ID, hexadecimal. Languages with Default or a neutral sub-language are displayed in binary code, other languages are displayed in four-digit codes. The first byte indicates the primary language, the second byte the sub-language.

"0C"
<LangID:x>

Numerical language ID, hexadecimal, without leading zeros.

"40C"
<LangID:0x>

Numerical language ID, hexadecimal, four-digit with leading zeros.

"040C"
<LangIDDec>

Numerical language ID, decimal

1036
<LangCode>

Windows language code

"fra"
<LangRgnCode>

Language/region code

"fr-FR"
<LangISO639_1>

ISO 639-1 code

"fr"
<LangISO639_2B>

ISO 639-2 code, bibliographic

"fre"
<LangISO639_2T>

ISO 639-2 code, terminological

"fra"
<LangName>

Language name in current Passolo language

"French (France)"

English Language Name

"French (France)"
<PrjDir>

Project folder

"c:\MyProject"
<SrcDir>

Source file folder

"c:\Sources"
<SrcName>

Source file name

"Example.exe"
<SrcTitle>

Source file title (source file name without extension)

"Example"
<SrcExt>

Source file extension

"exe"
<SrcPart:*>

Extracts the part of the source file name marked with *. This is primarily used to remove language codes from file names. For example, if the name of the source file is "Example_en.exe", <SrcPart:*_en.exe> delivers the text "Example"

"Example"
<SrcPartEx:1:*>

As for <SrcPart:*>, but * is a regular expression. The result is the part of the match specified by the number (back reference), 0 delivers the entire text found. Example: <SrcPartEx:0:[^_]+> delivers everything up to the first _ sign.

"Example"
<Title>

Name of the source file as assigned in the Properties - Source List. (See The Source String List Properties Dialog)

"Example"
<User-defined property> see "Additional placeholders" below