J 1.7.3 CB 1.7.1
I would like to have a fully multi-language email in the registration process, including terms of use, sender's name and email.
When I check the code among other strings that are completly translated I have for example these lines:
in administrator\components\com_profiler\ue_config.php:
$ueConfig='_UE_TERMS_URL';
in default_language.php:
DEFINE('_UE_TERMS_URL','terms-of-use.html');
in italian.php:
DEFINE('_UE_TERMS_URL','termini-di-utilizzo.html');
However this substitution does not work like all the others. I get <a target="_BLANK" href="http://www.domain_name.com/_UE_TERMS_URL"> Termini e Condizioni.
So the question is where and how I should change the code in order to have also these elements of the email translated.
Don't use SEF links in a URL and no that language string will not work. When supplying your terms and conditions URL from CB > Configuration > Registration it should be a non-SEF URL such as below.
With the above replace ARTICLE_ID with the actual ID of the article, CATEGORY_ID with the actual ID of the articles category, and ITEMID with the Itemid of the articles page.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
in CB > Configuration > Registration I will get displayed only art 47 which is say in ES. How do I get the same thing for terms in EN or IT if user is from another country?
Also how do I change sender's name (reg_email_name in $ueConfig) and address (reg_email_from in $ueConfig) according to language?
I think Itemid helps determine language, maybe exclude it and it'll figure it out automatically? I don't think what you're trying to do is possible, sorry. You also can not change the from address and name based off language.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.