Author Topic: Brazilian Portuguese x Portugal Portuguse  (Read 278 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Brazilian Portuguese x Portugal Portuguse
« on: September 11, 2024, 04:00:26 PM »
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

Offline
**
Re: Brazilian Portuguese x Portugal Portuguse
« Reply #1 on: September 11, 2024, 06:01:12 PM »
Hi,

For the admin interface the flags are located in the folder:
Code: [Select]
/usr/local/cwpsrv/htdocs/admin/design/img/langJust replace the appropriate image file with your own PNG file:
Code: [Select]
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:
Code: [Select]
/usr/local/cwpsrv/var/services/users/cwp_theme/original/img
« Last Edit: September 11, 2024, 06:05:20 PM by cyberspace »

Offline
*****
Re: Brazilian Portuguese x Portugal Portuguse
« Reply #2 on: September 12, 2024, 04:47:31 AM »
After uploading your custom flag image, be sure to set it as immutable:
Code: [Select]
chattr +i /path/to/fileOtherwise a future CWP update may blow it away.

Offline
**
Re: Brazilian Portuguese x Portugal Portuguse
« Reply #3 on: September 12, 2024, 09:35:16 AM »
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.

Offline
*
Re: Brazilian Portuguese x Portugal Portuguse
« Reply #4 on: September 13, 2024, 03:24:59 PM »
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.

Offline
**
Re: Brazilian Portuguese x Portugal Portuguse
« Reply #5 on: September 13, 2024, 06:52:35 PM »
If you found a bug then you need to submit the bug report here:
https://bugs.control-webpanel.com/login_page.php

Offline
*
Re: Brazilian Portuguese x Portugal Portuguse
« Reply #6 on: September 16, 2024, 06:33:16 PM »
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!