Control Web Panel
Developers => CWP API => Topic started by: setecabanas on October 27, 2022, 09:51:17 AM
-
Hi,
In option "Feature, themes, Languages" default language is spanish.
However, when i create a new account via api the account is created always with english
Any idea how to fix it?
-
cwp pro ?
if you use cwp pro, maybe you can push user default language
-
Yes, I use CWP Pro.
However, in add function of the API is not able to send language:
https://docs.control-webpanel.com/docs/developer-tools/api-manager/functions/function-api-account/add
-
any idea?
Could anyone help me?
-
I´m still looking for a solution to this.
I suppose that it must be possible to create an account via api with a language other than English
-
I found a "patch". I have created a cron job to change /home/user/.conf/cwp.ini
-
You can set a default language in the feature module in the admin
-
You can set a default language in the feature module in the admin
Yes. I said it in my first message. I have already set spanish in feature options.
If I create a new account from admin panel it is working correctly.
however, when i create a new account via API all accounts are created in english