Jump to content

Localization issues

Featured Replies

Posted

@SpencerJ Hello, here I will collect localization problems that I noticed

1. bug in showStatus('','') 

If the plugin is running, then the word "Status" is translated, but if it is stopped, then no

un1.PNG.1965b12d5d34f619a6a11deccf83df0c.PNG un2.PNG.794c05ad20a371c39087f42bb775db9c.PNG

 

2. Community Apps - there are no lines to translate or not worked

un3.PNG.d54b6b8e80eb5315456b509be0f302a8.PNG 

 

un4.PNG.572e7918d28d33724a302d948f6319c3.PNG

 

3. Is it possible to extend the menuItems block a bit to fit the words on one line?

u5.thumb.PNG.ba9e7787461f280f1e54cce2677b83c2.PNG

 

And in the theme "Azure"

un6.PNG.ce2fc27567dedbe6e8aebd5b284d43dd.PNG

 

Tested on UOS: 6.8.2

Edited by Barboska

3 hours ago, Barboska said:

Community Apps - there are no lines to translate or not worked

You always have to compare the master en_US file to the file you're working on.  New translations get added there, but may not have gotten moved over to the the other languages

  • Author

@Squid Before writing about the problem, I checked everything several times, these lines are not in en_US files

On 8/14/2021 at 12:55 AM, Barboska said:

@SpencerJ Hello, here I will collect localization problems that I noticed

1. bug in showStatus('','') 

If the plugin is running, then the word "Status" is translated, but if it is stopped, then no

un1.PNG.1965b12d5d34f619a6a11deccf83df0c.PNG un2.PNG.794c05ad20a371c39087f42bb775db9c.PNG

 

2. Community Apps - there are no lines to translate or not worked

un3.PNG.d54b6b8e80eb5315456b509be0f302a8.PNG 

 

un4.PNG.572e7918d28d33724a302d948f6319c3.PNG

 

3. Is it possible to extend the menuItems block a bit to fit the words on one line?

u5.thumb.PNG.ba9e7787461f280f1e54cce2677b83c2.PNG

 

And in the theme "Azure"

un6.PNG.ce2fc27567dedbe6e8aebd5b284d43dd.PNG

 

Tested on UOS: 6.8.2

 

@bonienl- any idea about issues #1 and for the Azure theme?

#1 is a bug and the word "status" is not translated, I made a correction.

 

The themes Azure and Gray use a fixed width for the labels. The general advice is to keep translations similar size as original text. Is that possible in this case?

 

  • 9 months later...
  • Author

@SpencerJ

the word "Online" is not displayed

unraid5.PNG

 

 

Also, there is no possibility to translate the description, settings and help for Notification Agents: Boxcar, Discord, Gotify, Telegram etc.

Edited by Barboska

  • Author

Strings that are not translated or missing in localization txt files

 

unraid7.PNG

 

unraid8.PNG

 

unraid9.PNG

Edited by Barboska

  • Author

@bonienl @Squid @SpencerJ @dlandon

Good night everybody.
I made a test localization to debug the unraid localization system, it clearly shows where the translation of strings does not work, and also shows from which file the translated string is loaded

it is also interesting to observe from which files the plugins take the translation

 

GitHub: https://github.com/LinXP/lang-xx_XX

Online: https://raw.githubusercontent.com/LinXP/lang-xx_XX/main/lang-xx_XX.xml

 

example:
str44|dashboard - where 44 is line in dashboard.txt file

 

Now you can see problem areas, for example:

un1.PNG

un2.PNG

un3.PNG

un5.PNG

un6.PNG

un7.PNG

un8.PNG

un9.PNG

I’ve made the changes for UD.

Status messages like the recycle bin start/stop are in bash scripts that are not aware of GUI language translations.  Language translations are limited to the GUI, and script messages like the recycle bin messages won't be translated.

  • Author

@Squid Hi, noticed a couple of other minor issues.

 

un30.PNG

un31.PNG

un32.PNG

Edited by Barboska

  • 2 weeks later...
On 5/30/2022 at 12:41 PM, dlandon said:

Language translations are limited to the GUI,

I have also managed to get translations working in PHP scripts.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...