• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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