ddenev Posted June 20, 2007 Share Posted June 20, 2007 Hi, is it possible to have the client profile details in two languages? I ask this because it turned out that when I want to register a domain the registrar complains: DirectI Client Details Validation Error - {company=Company Name contains invalid characters., name=Name contains invalid characters.} and the name and company are in Bulgarian (UTF-. I thought it may be good to have two sets of profile details - one for main profile (the client self-registers in his own language) and one for domain registration purposes (this has to be entered by the admin after the client registers). Is this possible or am I talking nonsense? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
ddenev Posted June 22, 2007 Author Share Posted June 22, 2007 Matt? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted June 22, 2007 WHMCS CEO Share Posted June 22, 2007 No, it's not possible to have it in two languages. You will need to remove those characters if DirectI doesn't like them while registering the domain. Matt 0 Quote Link to comment Share on other sites More sharing options...
ddenev Posted June 22, 2007 Author Share Posted June 22, 2007 Thanks. Do you intend to implement such multilanguage functions for us non-english customers? Otherwise I have to requiest that my clients register to WHMCS with latin characters and this is not very client-friendly, isn't it? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted June 22, 2007 Share Posted June 22, 2007 Let me guess, you are having problems with: Ă Â Î Ş Ţ ă â î ş ţ Although the Directi api does support UTF-* with the exceptions of certain fields (see http://old.rovernic.com/kb/servlet/KBServlet/faq422.html) you should translate these chars to: A A I S T a a i s t perhaps with a js str.replace template-side. 0 Quote Link to comment Share on other sites More sharing options...
ddenev Posted June 22, 2007 Author Share Posted June 22, 2007 OK, thank you for the hint. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted June 22, 2007 WHMCS CEO Share Posted June 22, 2007 The following are already replaced: '/[ÂÀÁÄÃ]/'=>'A', '/[âãàáä]/'=>'a', '/[ÊÈÉË]/'=>'E', '/[êèéë]/'=>'e', '/[ÎÍÌÏ]/'=>'I', '/[îíìï]/'=>'i', '/[ÔÕÒÓÖ]/'=>'O', '/[ôõòóö]/'=>'o', '/[ÛÙÚÜ]/'=>'U', '/[ûúùü]/'=>'u', '/ç/'=>'c', '/Ç/'=> 'C', 0 Quote Link to comment Share on other sites More sharing options...
ddenev Posted June 22, 2007 Author Share Posted June 22, 2007 Can I somehow plug into the Directi registration process (without rewriting the module) in order to provide my replacement (I would like to implement the replacement in PHP, not in JS)? Unfortunately none of the above replacements work for Bulgarian language (here 's the alphabet: АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЬЮЯ). Alternatively, could I send you the replacement table for Bulgarian (for example UTF-8 encoded) for you to put it into WHMCS? But the best way would be to be able to provide the replacement as a module or plugin. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted June 22, 2007 WHMCS CEO Share Posted June 22, 2007 "The best way" would be to send in the characters and what they should be replaced with and we'll add them into the above existing replacement code. Matt 0 Quote Link to comment Share on other sites More sharing options...
trine Posted June 22, 2007 Share Posted June 22, 2007 Matt could you also add support for the following chars? Å Æ =>Ae Ñ Ø Ý ß => ss å æ =>ae ñ ø ý ÿ Ð 0 Quote Link to comment Share on other sites More sharing options...
ddenev Posted June 22, 2007 Author Share Posted June 22, 2007 "The best way" would be to send in the characters and what they should be replaced with and we'll add them into the above existing replacement code. Matt OK, I'll do this and will send you an email. 0 Quote Link to comment Share on other sites More sharing options...
ddenev Posted July 2, 2007 Author Share Posted July 2, 2007 Matt, did you receive the bulgarian character replacement table I sent you? When should we expect it to be integrated into the product? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.