Skip to content

The DeviceSettings.page strings in the editdevicesettings.txt file not used at all if Unraid set to use other than English #3

Description

@DelPoint

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):

Image

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions