• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Set plesk client language dynamically

serreri

New Pleskian
Server operating system version
Debian 10.0
Plesk version and microupdate number
Plesk Obsidian v18.0.60
Good morning, I apologize but I couldn't find a solution.
Could you kindly help me understand if it is possible to activate a Plesk customer account by setting the language based on the language spoken by the customer.

Basically, I would like an English user to enter his profile and find his account already in English, his French account in French, etc.

I would like to point out that to generate my client and his domain I use the API with curl but by setting:

"local": "fr_FR"

the customer panel always remains in English and not French, leaving the customer the option to change the language from his profile.

I hope I explained myself, I apologize.

HI
 
Good question!

There are a couple of options I can think of.

1) Via Plesk GUI you can login as a customer and set the language for the customer account manually.
Schermafbeelding 2024-05-15 204114.png
2) You can automate things via the Plesk API

a) With the REST API using the /client endpoint setting the locale in the body payload.
Code:
{
  "name": "John Smith",
  "company": "Plesk",
  "login": "john-unit-test",
  "status": 0,
  "email": "[email protected]",
  "locale": "en-US",
  "owner_login": "admin",
  "external_id": "link:12345",
  "description": "Nice guy",
  "password": "changeme1Q**",
  "type": "reseller"
}

b) Or if you use the XML-RPC API.
 
Thanks Kaspar,
unfortunately I was convinced that I had at least two languages available in the Plesk license, I had to purchase the language pack to add a language.

I don't understand why in the license
plesk Web Pro Edition I have two languages installed,
while in the Web Host Edition license I only have one language.

It seems excessive to me to buy another license, but never mind, let's get on with the work:)

Thanks again
 
Back
Top