Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse SmartHome » [solved]WhowTo make Translation files being used?(Created file "BindingName_de_DE.properties" is not used!)
[solved]WhowTo make Translation files being used? [message #1756110] Sat, 11 March 2017 14:08 Go to next message
Juergen Baginski is currently offline Juergen BaginskiFriend
Messages: 7
Registered: March 2017
Junior Member
Hi,

I did setup my binding with all UI displayable strings in english and with a file name "BindingName_de_DE.properties" containing all those strings in my language.
PaperUI is set to Language de and Region DE, however the string from my file are not used.
Am I doing something wrong?

My file contains:

# binding
binding.tankerkoenig.name = "Tankerkoenig Binding"
binding.tankerkoenig.description = "Das Tankerkoenig Binding ermöglicht es über die Tankerkoenig.de API Spritpreise von deutschen Tankstellen abzurufen"

# thing types
thing-type.tankerkoenig.bridge.description = "Diese Konfiguration dient als Basiskonfiguration für 1 bis 10 Tankstellen"
thing-type.tankerkoenig.bridge.apikey.description="Tankerkoenig API-Key. Nötige Registrierung unter https://creativecommons.tankerkoenig.de"
thing-type.tankerkoenig.bridge.refresh.label="Aktualisierungsintervall"
thing-type.tankerkoenig.bridge.refresh.description="Spezifiziert das Aktualisierungsintervall in Minuten. Minimum 10 Minuten."
thing-type.tankerkoenig.bridge.setupmode.description="Setup-Mode"
thing-type.tankerkoenig.bridge.setupmode.description="Im Setup-Mode werden noch keine Daten abgefragt. Nach vollständiger Einrichtung den Setup-Mode deaktivieren, damit Daten angezeigt werden."
thing-type.tankerkoenig.bridge.use_OpeningTime.label="Öffnungszeiten"
thing-type.tankerkoenig.bridge.use_OpeningTime.description="Im Mode Öffnungszeiten werden nur die zur Zeit geöffneten Tankstellen abgefragt."
thing-type.tankerkoenig.tankstelle.label="Tankstelle"
thing-type.tankerkoenig.tankstelle.description="Stellt Infos zu E5-, E10-, und Diesel-Preise einer Tankstelle bereit"

# channel types
channel-type.tankerkoenig.diesel.description = "Diesel-Preis"
channel-type.tankerkoenig.e5.description = "E5-Preis"
channel-type.tankerkoenig.e10.description = "E10-Preis"

[Updated on: Sun, 12 March 2017 16:45]

Report message to a moderator

Re: WhowTo make Translation files being used? [message #1756128 is a reply to message #1756110] Sun, 12 March 2017 16:44 Go to previous message
Juergen Baginski is currently offline Juergen BaginskiFriend
Messages: 7
Registered: March 2017
Junior Member
Found the solution myself!
The name has to be "BindingName_de.properties", why on earth was the example named differently?
Previous Topic:Thing Added/Removed notification
Next Topic:How to update Channel's min/max
Goto Forum:
  


Current Time: Sat Dec 07 11:31:53 GMT 2024

Powered by FUDForum. Page generated in 0.03383 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top