cdgco / HestiaWebInterface

[Beta] PHP interface for HesitaCP, providing a beautiful UI, UX, features & integrations.
https://hwi.cdgtech.one
GNU General Public License v3.0
26 stars 9 forks source link

Profile errors #32

Open thytetgc opened 11 months ago

thytetgc commented 11 months ago

No user profile settings are saved, it simply gives an error.

And it is not possible to change the language to pt_BR!

thytetgc commented 11 months ago

After numerous tests.

I noticed that there is a confusion between "pt_BR" and "pt-br" hestiacp understands the code "pt-br" and the panel understands it as "pt_BR"

I changed "pt_BR" to "pt-br" in the files:

includes/arrays.php profile.php admin/list/settings.php admin/server/hestia.php admin/edit/user.php

After that everything is fine!