Hello,
I think there is a little mess regarding where the translated strings of this plugin's DeviceSettings.page are read/taken from.
In Unraid the language package has a file called editdevicesettings.txt, which, I suppose, contains the strings used on 'Unassigned Device Settings' page (when the settings of a specific device can be modified), which page is generated by DeviceSettings.page.
I'm currently working on the translation of this plugin; repo forked from Unraid/language-templates. However, despite all of my attempts, the text on the web page of 'Unassigned Device Settings' appears always in English, with a few exceptions. These exceptions marked by a purple rectangle in the screenshot below (German language set, but tested with other languages too, same result):
In other words, it seems to me that none of the strings in editdevicesettings.txt are used. Even the marked German words are taken from different TXT file rather from editdevicesettings.txt.
Ok, I've played a bit with this issue, and copied over a few strings from editdevicesettings.txt into Unraid's translation.txt. And magic! The strings copied over to translation.txt were shown in the appropriate language on the page 'Unassigned Device Settings'. Which definitely points towards some kind of linking/referencing issue in PHP either on the side of this plugin or on the side of Unraid. Because I don't know if that is an issue in the plugin here, or over there in Unraid, I decided to report it here first.
Hope it can help.
Hello,
I think there is a little mess regarding where the translated strings of this plugin's DeviceSettings.page are read/taken from.
In Unraid the language package has a file called editdevicesettings.txt, which, I suppose, contains the strings used on 'Unassigned Device Settings' page (when the settings of a specific device can be modified), which page is generated by DeviceSettings.page.
I'm currently working on the translation of this plugin; repo forked from Unraid/language-templates. However, despite all of my attempts, the text on the web page of 'Unassigned Device Settings' appears always in English, with a few exceptions. These exceptions marked by a purple rectangle in the screenshot below (German language set, but tested with other languages too, same result):
In other words, it seems to me that none of the strings in editdevicesettings.txt are used. Even the marked German words are taken from different TXT file rather from editdevicesettings.txt.
Ok, I've played a bit with this issue, and copied over a few strings from editdevicesettings.txt into Unraid's translation.txt. And magic! The strings copied over to translation.txt were shown in the appropriate language on the page 'Unassigned Device Settings'. Which definitely points towards some kind of linking/referencing issue in PHP either on the side of this plugin or on the side of Unraid. Because I don't know if that is an issue in the plugin here, or over there in Unraid, I decided to report it here first.
Hope it can help.