- Platform information:
- Hardware: Raspberry Pi 4B/8GB/64BG
- OS: what OS is used and which version
- Java Runtime Environment: OpenJDK Runtime Environment Temurin-21.0.12+8 (build 21.0.12+8-LTS)
- openHAB version: 5.2.1 - Release Build
- Item JS transformation does not check for available language variants.
- I do have two versions of JS transformation with the same ID. One is in English (
:en) the other in German (:de). If I configure the transformation including the language suffix:enor:dethe correct transformation is used, e.g.JS(config:js:d7656de369:de):%orJS(config:js:d7656de369:en):%s. When I use the transformation without the language suffixJS(config:js:d7656de369):%sthe system does not check for available language options and logs an error. -
2026-08-19 22:36:10.466 [WARN ] [rest.core.item.EnrichedItemDTOMapper] - Failed transforming the state '5' on item 'PV1_Inverter_State2' with pattern 'JS(config:js:d7656de369):%s': Could not get script for UID 'config:js:d7656de369'.
Interestingly the same is working correctly for MAP transformations. I could not find any reference in the documentation. Might be that’s the gap. However, I do think that the language option in the UI transformation screen only makes sense if the system automatically determines the appropriate language based on regional setting, and also use an appropriate fallback.
Many thanks for your feedback.
Regards,
Michael