Default Language

Is there a way to only have one language or to always default to one language and logging in ?

Yes
Edit:
/usr/local/CyberCP/loginSystem/views.py
except:
request.session[LANGUAGE_SESSION_KEY] = “en”
request.COOKIES[‘django_language’] = “en”
settings.LANGUAGE_CODE = “en”
Change to:
except:
request.session[LANGUAGE_SESSION_KEY] = “xx”
request.COOKIES[‘django_language’] = “xx”
settings.LANGUAGE_CODE = “xx”

Edit:
/usr/local/CyberCP/CyberCP/settings.py
LANGUAGE_CODE = ‘en’

TIME_ZONE = ‘UTC’

USE_I18N = True

USE_L10N = True

USE_TZ = True

Change to:
LANGUAGE_CODE = ‘xx’

TIME_ZONE = ‘UTC’

USE_I18N = True

USE_L10N = True

USE_TZ = True

And reboot

would it be overwritten in a future update ?

Yes
Ask CyberPanel employees and programmers whether they will add the option to change the default language.

Default is english if you don’t choose anything from dropdown.

ok thanks

Default is english if you don't choose anything from dropdown.

I wrote how to change to a different default language.
Currently, if something is missing in the translation, it is replaced by the Chinese language.

Default is english if you don't choose anything from dropdown.

I wrote how to change to a different default language.
Currently, if something is missing in the translation, it is replaced by the Chinese language.

For some translation or default selection? (Or even if English is selected)

Yes
msgid “Paste Your Key”
msgstr “”

There are also shortages in translation. You can not do part of the translation. For example, the login (login.html) can not be translated in django.po, etc.

Thank you, I will check.

I found also:
#: NEW
#: CyberCP/websiteFunctions/templates/websiteFunctions/website.html:693
msgid “Click”
msgstr “”

#: NEW
#: CyberCP/websiteFunctions/templates/websiteFunctions/website.html:693
msgid " to read more about whats changed in"
msgstr “”

#: NEW
#: CyberCP/websiteFunctions/templates/websiteFunctions/website.html:693
msgid “from v1.7 onwards.”
msgstr “”

#: NEW
#: CyberCP/websiteFunctions/templates/websiteFunctions/website.html:606
msgid “Paste Your Cert”
msgstr “”

#: NEW
#: CyberCP/websiteFunctions/templates/websiteFunctions/website.html:609
msgid “Paste Your Key”
msgstr “”

You could do * .pot or English * .po, * mo. To have a basis for translation.
Where are the translation files for a new language given?

Yes, there is some new text due to upgrades, I will update same files with new text and push to GitHub.

How do I finish the translation to whom should I pass it on?

How do I finish the translation to whom should I pass it on?

You can create the pull request on Github.

hi everyone, I got the wrong language at Cyberpanel backend. Unfortunately on my first install the Cyberpanel download picked up the browser language and I downloaded a foreign language on Cyberpanel. Do we have a way to change the language from the backend? When I installed it I thought I could configure the language later but can’t see any option a part from what you wrote above 1 and a half year ago.

Ok sorry for the above, with last update is fine, before I couldn’t change the language, despite the dropdown.

@CyberPanel @usmannasir Are you planning to create default language selection or language per user ?