User Reference:Localization
Function
Localization is the translation of messages from BCI2000's native language, English, into some other language. This is only done for messages that are visible to the experimental subject; to the operator user, messages will always be displayed in English.
Currently, localization support is limited to languages that allow for a standard 8-bit character representation, i.e. Western languages.
Parameters
Localization is applied by matching strings against a translation table, and replacing with a localized version if available.
LocalizedStrings
A matrix parameter that defines string translations. In this matrix, column labels are strings in their native (English) version; row labels are language names. When a string is to be translated, it is matched against column labels, and its translation will be taken from the row corresponding to the target language. Strings that do not appear as a column label will not be translated. Also, strings with an empty translation entry in LocalizedStrings will not be translated.
Adding translations into another language is simple, and consists in
- adding a row to the LocalizedStrings matrix,
- labeling that row with the name of the target language,
- entering translations for the strings appearing as column titles.
Language
This parameter defines the language into which strings are translated; if its value matches one of the LocalizedStrings row labels, translations will be taken from that row; otherwise, strings will not be translated. A value of Default results in all strings keeping their original values.
States
None.