Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Fields multilingual ?

  • crony
  • crony
  • OFFLINE
  • Posts: 104
  • Thanks: 7
  • Karma: 1
11 years 6 months ago - 11 years 3 months ago #225424 by crony
[SOLVED] Fields multilingual ? was created by crony
Hello,

Is it possible to have all additionnal fields, and tabs names translated (by myself of course) into multiple language ?
It should be based on the native language component of Joomla!.
Actually the website is in different languages, but additionnal fields are not.

I also have the names of subscription plans, and automatic mails to be translated into CBsub.
Is this actually doable ?

Thanks

J! 4.x - CB 2.7.3
Last edit: 11 years 3 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago - 11 years 6 months ago #225458 by krileon
Replied by krileon on topic Fields multilingual ?
Yes, fields still use DEFINEs though so you'll need to set the titles and values of any select type fields to define strings. Example as follows.

Title: _UE_MYFIELD

define( '_UE_MYFIELD', 'This is my field in English!' );

Please see the below for further language usage information.

www.joomlapolis.com/cb-solutions/languages

CBSubs uses the CBTxt language usage and you can use this to translate plan titles, descriptions, and basically any visible part. Example as follows.

Plan Title: My Plan

'My Plan' => 'This is my plan in English!'


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.
Last edit: 11 years 6 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • thefbi
  • thefbi
  • OFFLINE
  • Posts: 14
  • Thanks: 1
  • Karma: 0
  • Add-ons
11 years 3 months ago #230745 by thefbi
Replied by thefbi on topic Fields multilingual ?
Hello,

can you please specify where i can find the strings for CB and CBSubs ? In language file ?

Regards,Frédéric.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #230772 by krileon
Replied by krileon on topic Fields multilingual ?
No where, you need to create them. Please see the below for further information on language string usage.

www.joomlapolis.com/cb-solutions/languages


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.

Please Log in or Create an account to join the conversation.

  • thefbi
  • thefbi
  • OFFLINE
  • Posts: 14
  • Thanks: 1
  • Karma: 0
  • Add-ons
11 years 3 months ago - 11 years 3 months ago #231311 by thefbi
Replied by thefbi on topic Fields multilingual ?
Hello,

Ok, i have found it !

Bur another problem, i cant make this for the plan descritpion... it dosent work. It is ok for the title, but not for desc.

I have made : 'FRED_ABO_1_DESC' => 'Abonnement unique pour 1 mois. Vous permet d\'entrer en contact et de chatter avec les membres du site pendant 1 mois',

I have put FRED_ABO_1_DESC ony in the description form but still FRED_ABO_1_DESC in frontend and not ma string...

EDIT : I have found ! I have to turn off the text editor and it is ok now :)
Last edit: 11 years 3 months ago by thefbi.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum