-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mqtt.generic] There is not yet any default translation properties file. #12220
Comments
As there is only one translation file for the German translation with only 2 entries, I think it can be ignored. The i18n tool should simply be run to produce the default properties file. |
I just updated my original post above with some more details |
Yes it seems to be an issue for multi bundle bindings like MQTT because |
Thanks, that worked. I will leave the binding.xml in there so future plugin runs can be done easily. |
@wborn, I hit a snag with the translations generator tool. I'm not sure what Using id="mqtt" for homeassistantThis is great because it will pick up the contents of
The problem is that it generates this at the top of the properties file which conflicts with/overrides the main bundle
Setting I don't want to manually edit the properties file because I believe it needs to be easily regenerated again in the future. Would you be able to look into handling this scenario in the generator plugin? |
The plugin did not generate translations for bundles of bindings that do not have a binding.xml file. With this change it should also be possible to generate the default translations of the modbus and mqtt bindings. Related to openhab/openhab-addons#12220 Signed-off-by: Wouter Born <github@maindrain.net>
I think it should be fixed with openhab/openhab-core#2748 @jimtng. |
* Support multi bundle bindings in i18n-maven-plugin The plugin did not generate translations for bundles of bindings that do not have a binding.xml file. With this change it should also be possible to generate the default translations of the modbus and mqtt bindings. Related to openhab/openhab-addons#12220 Signed-off-by: Wouter Born <github@maindrain.net>
* Support multi bundle bindings in i18n-maven-plugin The plugin did not generate translations for bundles of bindings that do not have a binding.xml file. With this change it should also be possible to generate the default translations of the modbus and mqtt bindings. Related to openhab/openhab-addons#12220 Signed-off-by: Wouter Born <github@maindrain.net> GitOrigin-RevId: c300410
There is not yet any default translation properties file.
Originally posted by @lolodomo in #12167 (comment)
I tried creating the translations file for
org.openhab.binding.mqtt.generic
using this command:It created a file called
mqtt.properties
Questions:
mqtt.properties
file that was generated from the command above, don't include the texts fromthing/channels.xml
orthing/generic.thing.xml
- @wborn is this perhaps a bug in thegenerate-default-translations
maven plugin?The text was updated successfully, but these errors were encountered: