Localization issues


Barboska

Recommended Posts

@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
  • Like 1
Link to comment
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

Link to comment
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?

Link to comment
  • 9 months later...

@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

Link to comment

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.

Link to comment
  • 2 weeks later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.