Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DSDP/TML/Creating TmL Devices/I18N Properties file

< DSDP‎ | TML‎ | Creating TmL Devices
Revision as of 08:28, 23 December 2008 by Alex.escodro.eldorado.org.br (Talk | contribs) (Understanding the properties file)

English properties file

Filename: SampleDeviceResources.properties [TBD: Properly name this file]

# NLS_MESSAGEFORMAT_VAR
# NLS_ENCODING=UTF-8

TML_Device_Plugin_Name= SampleDevice Device Plugin (Incubation)
TML_Error= A unexpected exception was found in TmL framework
TML_Resource_Not_Available= Resource not available


Portuguese properties file

Filename: SampleDeviceResources.properties [TBD: Properly name this file]

# NLS_MESSAGEFORMAT_VAR
# NLS_ENCODING=UTF-8

TML_Device_Plugin_Name= Plugin de Device SampleDevice (Incubação)
TML_Error= Uma exceção inesperada foi encontrada no framework TmL
TML_Resource_Not_Available= Recurso não disponível

Spanish properties file

Filename: SampleDeviceResources.properties [TBD: Properly name this file]

# NLS_MESSAGEFORMAT_VAR
# NLS_ENCODING=UTF-8

TML_Device_Plugin_Name= Plugin de Device SampleDevice (Incubación)
TML_Error= Una excepción inesperada fue encontrada en el framework TmL
TML_Resource_Not_Available= Recurso no disponible


Understanding the properties file

  • The properties file is divided in two sections: the header and the constants attribution.
  • [TBD Explain the header: NLS_MESSAGEFORMAT_VAR and NLS_ENCODING=UTF-8]
    Talk about the special meaning of the comment in this case.
  • On the constants attribution section, each constant is defined in a separate line.
    Use a blank space after the attribution sign "=".
  • A # marks the beginning of a line coment.

Back to the top