eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 786 forks source link

[i18n] binding author is not resolved #6741

Open hakan42 opened 5 years ago

hakan42 commented 5 years ago

in my binding, I have the following

    <name>@text/binding.pushbullet.name</name>
    <description>@text/binding.pushbullet.description</description>
    <author>@text/binding.pushbullet.author</author>

and in the pushbullet_en.properties:

binding.pushbullet.author = Hakan Tandogan
binding.pushbullet.name = Pushbullet Binding
binding.pushbullet.description = This is the binding for Pushbullet.

after compiling the bindig and loading it into a fresh openHAB2 instance, when I look at Configuration -> Bindings -> my-new-binding, I see that the binding.name and binding.description are resolved from the property name, but not the author, even though it follows the same naming convention.

Having a "translated" author name would be useful if the author wants his/her name differently written in, say, english and arabic, or english and chinese.

cweitkamp commented 5 years ago

If we need it I can reopen #5176. But I think the author-tag is kind of deprecated.

hakan42 commented 5 years ago

If the author tag, from which data source it might come, will still be displayed in the Paper UI, I would love it to be translateable. As a reason, please see my example with arabic and chinese versus the englishified transliterations.

maggu2810 commented 5 years ago

I still assume the author information can be moved to a technical meta-information and removed from the binding XML (and so from the Paper UI). I assume we just need someone that comes with a PR.