Closed 7starsone closed 7 years ago
How do you enter it? Switching to it from root?
In case your users see language correctly, I am be pretty sure that it was done by design, to set the language that root
is using. Otherwise you might end-up seeing, the language you would never be able to comprehend.
It's not the theme issue, I suppose.
eg. https://domain.com:20000
login by Username and Password that's english only and can't be changed by user...
so... ?
but Usermin is for users, not for root... I can't understand, really....what root language has to do with the user language? Users should be able to choose their own language. Agree? 😃
So? You should be able to have this:
Other than that, you need to go to Usermin Configuration/Available Modules and make sure that it's available.
ok, that wasn't selected.... BUT, maybe found something...
File Manager wasn't selected too, but anyway was there for my user...why?
instead, if I select it and save, on Usermin there is a duplicate File Manager
Duplicate is java File Manager or manaully installed Filemin from Real-Gecko repo.
If you think there is a bug, please report it to Usermin repo.
There are 2 File Manager modules....both named File Manager
, on the left and on the right column...
How i distinguish them? 😃 in your image they are 3 !
Ok. I will report it to Jamie myself.
please, where are the translation files for Usermin AND Usermin modules? thanks
Each module has its own /lang
directory containing localization files.
You can find it under Webmin/Usermin directory.
Besides, each module contains a file module.info
, which describes it.
I can't understand how to translate these buttons text
so, not the relative page content/text
eg. /usr/libexec/usermin/chfn/lang/
but the direct buttons text on the left menu...
I tried to add desc_xx=... and desc_xx.UTF-8=... to /usr/libexec/usermin/chfn/module.info
saved and even restarted usermin, no change... so, where's the buttons text on the left, please?
I think, it's inside /lang
folder of Usermin. Search through file's content!
File Manager can do it. 😉
no, there's something weird...
[root@me ~]# grep -rnw '/usr/libexec/' -e 'Change User Details'
/usr/libexec/usermin/chfn/lang/en:1:index_title=Change User Details
/usr/libexec/usermin/chfn/lang/hu:1:index_title=Change User Details
/usr/libexec/usermin/chfn/lang/en.UTF-8:1:index_title=Change User Details
/usr/libexec/usermin/chfn/lang/hu.UTF-8:1:index_title=Change User Details
/usr/libexec/usermin/chfn/module.info:6:desc=Change User Details
the relative files for other langs are already translated but the buttons on the left remain in english...what changes is the page content, not the button text...
What language do you have set exactly?
eg. italian
[root@me ~]# grep -rnw '/usr/libexec/' -e 'modifica dettagli utente'
/usr/libexec/usermin/chfn/lang/it:1:index_title=modifica dettagli utente
/usr/libexec/usermin/chfn/lang/it.UTF-8:1:index_title=modifica dettagli utente
[root@me ~]# grep -rnw '/usr/libexec/' -e 'Modifica Dettagli Utente'
/usr/libexec/usermin/chfn/module.info:12:desc_it=Modifica Dettagli Utente
/usr/libexec/usermin/chfn/module.info:30:desc_it.UTF-8=Modifica Dettagli Utente
as you can see, all the 3 files are translated
/usr/libexec/usermin/chfn/lang/it
/usr/libexec/usermin/chfn/lang/it.UTF-8
/usr/libexec/usermin/chfn/module.info
even restarted usermin, webmin... no change on the buttons on the left menu
Probably cache issue? Restart Webmin&Usermin.
all restarted, even cleared cookies on the browser
no change
another bug
/usr/libexec/usermin/mailbox/ulang/en:3:mail_none=There are no messages in folder $1
/usr/libexec/usermin/mailbox/ulang/it:3:mail_none=Non ci sono messaggi nella cartella $1
so, already translated, but that message remain There are no messages in folder even if user lang is italian.
this is caused by non existing UTF8 files in /usr/libexec/usermin/mailbox/ulang
my user is using UTF8 lang so, after years...still UTF8 issues here, unfortunately... but for the previous issue I don't know...
Are you storing user cache files somewhere and you don't delete them? Remember that one time we discussed about this...
So, there's a problem:
at the moment, you're forced to change language.
(Your language → Another language → Your language again
)
If you don't do so...the changes are not applied.
So, it's not an expected behavior. My user can't be forced to apply another language and then reapply its own language... 😃 please, test it and you can reproduce it for sure.
If you're on Ubuntu, it's possible. It must be reported to Webmin/Usermin repo.
I don't do it. It's WebminCore.
Some files are not readable/editable (question mark ?)
and also, do these need an UTF-8 version? Like uconfig.info.de.UTF-8 ?
It means they are not recognized as text.
At the moment yes, in case you're language set to Unicode.
this Your language → Another language → Your language again
was just a sensation...
doesn't work anymore, I can't understand what's the issue...for the links on the left menu
I wrote here https://www.virtualmin.com/node/52237 hope that Jamie can read...
Trash in this case...
[root@me ~]# grep -rnw '/usr/libexec/' -e 'folder_trash'
/usr/libexec/usermin/mailbox/mailbox-lib.pl:421: $trash->{'name'} = $text{'folder_trash'};
/usr/libexec/usermin/mailbox/mailbox-lib.pl:541: push(@rv, { 'name' => $text{'folder_trash'},
/usr/libexec/usermin/mailbox/lang/it:88:folder_trash=Cestino
/usr/libexec/usermin/mailbox/lang/fr:97:folder_trash=Corbeille
/usr/libexec/usermin/mailbox/lang/cz.UTF-8:87:folder_trash=Koš
/usr/libexec/usermin/mailbox/lang/no:88:folder_trash=Papirkurv
/usr/libexec/usermin/mailbox/lang/cz:87:folder_trash=Ko�
/usr/libexec/usermin/mailbox/lang/nl.UTF-8:88:folder_trash=Vuilnis
/usr/libexec/usermin/mailbox/lang/fi:75:folder_trash=Roskakori
/usr/libexec/usermin/mailbox/lang/de:88:folder_trash=Papierkorb
/usr/libexec/usermin/mailbox/lang/it.UTF-8:88:folder_trash=Cestino
/usr/libexec/usermin/mailbox/lang/nl:88:folder_trash=Vuilnis
/usr/libexec/usermin/mailbox/lang/el:274:folder_trash=����������
/usr/libexec/usermin/mailbox/lang/ja_JP.euc:301:folder_trash=Trash
/usr/libexec/usermin/mailbox/lang/fi.UTF-8:75:folder_trash=Roskakori
/usr/libexec/usermin/mailbox/lang/ko_KR.UTF-8:87:folder_trash=휴지통
/usr/libexec/usermin/mailbox/lang/zh_TW.Big5:63:folder_trash=�U����
/usr/libexec/usermin/mailbox/lang/ca:325:folder_trash=Trash
/usr/libexec/usermin/mailbox/lang/ko_KR.euc:87:folder_trash=������
/usr/libexec/usermin/mailbox/lang/no.UTF-8:88:folder_trash=Papirkurv
/usr/libexec/usermin/mailbox/lang/ja_JP.UTF-8:301:folder_trash=Trash
/usr/libexec/usermin/mailbox/lang/en:325:folder_trash=Trash
/usr/libexec/usermin/mailbox/lang/tr:88:folder_trash=�op Kutusu
/usr/libexec/usermin/mailbox/lang/fr.UTF-8:97:folder_trash=Corbeille
/usr/libexec/usermin/mailbox/lang/hu:24:folder_trash=Kuka
/usr/libexec/usermin/mailbox/lang/zh_TW.UTF-8:63:folder_trash=垃圾桶
/usr/libexec/usermin/mailbox/lang/pt_BR.UTF-8:3:folder_trash=Lixo
/usr/libexec/usermin/mailbox/lang/ca.UTF-8:325:folder_trash=Trash
/usr/libexec/usermin/mailbox/lang/en.UTF-8:325:folder_trash=Trash
/usr/libexec/usermin/mailbox/lang/pt_BR:3:folder_trash=Lixo
/usr/libexec/usermin/mailbox/lang/de.UTF-8:88:folder_trash=Papierkorb
/usr/libexec/usermin/mailbox/lang/hu.UTF-8:24:folder_trash=Kuka
/usr/libexec/usermin/mailbox/ulang/it.UTF-8:36:folder_trash=Cestino
/usr/libexec/usermin/mailbox/ulang/en.old:101:folder_trash=Trash
...
...
Hello, didn't notice that before or didn't understand how to change.
If i try to enter Usermin with one of my users, it shows everything in english.
Is it by design? Maybe configurable by Virtualmin or...? Thanks