1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Where are the LANGUAGE (Country) pairs?

Discussion in 'Plesk for Linux - 8.x and Older' started by niel, Feb 12, 2005.

  1. niel

    niel Guest

    My customers speak catalan but they are not spanish, so I'd like to change the words 'CATALAN (Spain)' at the entry point.

    I have been searching around HD and DB with no result for the moment... anybody knows where to find the LANGUAGE (Country) pairs?

    Thanks in advance.
  2. Jason Lee

    Jason Lee Guest


    I don't think its possible to change the country for the language. I think its a stupid idea to have the country beside the language. But I do have to agree there is some merit for example having United States side English because there are minor differences between English in the United States and English in Canada (eg. color and colour, or centre and center) but unless they plan to make a language pack for each variation of English it should show up on plesk as "English"

    This is probably anoying to alot of people and I hope SW-Soft changes this.
  3. Whistler

    Whistler Guest

    If I remember correctly, it can be changed in the "locales" table in the PSA database. I think I some time ago - removed the specific country information in the text part of the locale.

    (please don't hang me if I'm wrong :) )
  4. niel

    niel Guest

    OK, it is possible to CHANGE the country...

    Hi Whistler,

    I had already seen that table, and also 'misc' which defines de default locales for admin and users. But I hadn't changed any value because it wasn't the exact text I was looking for.

    I changed 'ca-ES' to 'ca' and the result was: plesk wasn't able to recognize the country code. I get 'CATALAN (Country code not recognized)'.

    Then I changed it to 'ca-AD' and it works: 'CATALAN (Andorra)', but when I login it didn't work and I still have no way to remove country information as you did (I think before 7.5 plesk didn't have Country id in locale directory).

    Finally I got it this way:

    1- Changing Language Pack file contents from ca-ES to ca-AD

    2- Adding it to the system from Control Panel > Language (an error pops up)

    3- Moving /usr/local/psa/admin/plib/locales/ca-ES/*ca-ES.php to /usr/local/psa/admin/plib/locales/ca-AD/*ca-AD.php
    /usr/local/psa/admin/htdocs/locales/ca-ES to /usr/local/psa/admin/htdocs/locales/ca-AD

    4- Adding it again to the system from Control Panel > Language (no error)

    I hope this helps Jason Lee, but as there is no English Language Pack available, you will need to modify DB and language files manually.

    So the main question now is: how to remove Country information?

    I would need to do it in case my spanish or french customers who speak catalan complained about Andorra ;)

    Thanks for the replies.
  5. First Hosting

    First Hosting Guest

    Re: OK, it is possible to CHANGE the country...

    If anyone knows please tell.... We would like to remove the United States (okay not literally ;) )
  6. JohnB@

    JohnB@ Guest

    Hi All:

    SW-Soft really should remove the "United States" from ENGLISH if there is no other (like "United Kingdom"). I think we can all live with just "English" only -- but we offend non-American English customers, and there are plenty!

    Okay, another question: Is there a way to change the ORDER of how languages come up in Plesk? I like to have the 2 languages of "our" customers come up first in that list.