Friends,
Congrats on the great project!
I noticed the panel has what seems to be Brazilian Portuguese, however, the flag shown is that of Portugal.
Can you change it to the Brazilian flag?
Thanks!
Flávio
Hi,
For the admin interface the flags are located in the folder:
/usr/local/cwpsrv/htdocs/admin/design/img/lang
Just replace the appropriate image file with your own PNG file:
PNG 32x32 32x32+0+0 8-bit sRGB
If you want to change the flag for the user level panel, then you need do it in the folder:
/usr/local/cwpsrv/var/services/users/cwp_theme/original/img
After uploading your custom flag image, be sure to set it as immutable:
chattr +i /path/to/file
Otherwise a future CWP update may blow it away.
I don't think make files immutable is good solution because it could cause problem during updates too. As a soultion it is better to duplicate the necessary language and update the image file in the duplicate language pack.
Here is another thread about localizations:
https://forum.centos-webpanel.com/addons/language-edit/msg16725/
Hope it will help to perform the necessary task.
Thanks, guys. Can the language maitaners do this?
Pls confirm what I said, but it seems Portuguese in the panel is Brazilian one, not Portugal one.
If you found a bug then you need to submit the bug report here:
https://bugs.control-webpanel.com/login_page.php
Friend,
Thanks. I registered, but somehow, it probably showed on screen, I dont know my username.
Pls help?
EMail I registered = painel at lucanet.com.br
Tks!