Skip to Content Skip to Menu

Multilangual support... OMG

11 years 8 months ago #210356 by henrik1782
Multilangual support... OMG was created by henrik1782
or is it just me!

I dont really get the translation file framework. I have installed the language plugin's and found the language php files in com_profiler language dir.

But I have still text strings that I cant figure out where to translate most of them in the plugins (connect, activity, forum etc.)

Can anyone guide me a little bit.

In regards to e-mail on ex. registration I guess I have to use _UE_ string for all the text and add these strings to the language files.

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 47949
  • Thanks: 8170
  • Karma: 1434
11 years 8 months ago #210383 by krileon
Replied by krileon on topic Re: Multilangual support... OMG
The language displayed is based off the language selected in Joomla or if changed the language the user selected from user params field (defaults to site language). You need a Joomla language plugin to accompany the CB language plugin for a multi-lingual site; you can't have just CB language plugins as it'll just default to English.

In regards to e-mail on ex. registration I guess I have to use _UE_ string for all the text and add these strings to the language files.

You'll need to be more specific then this. Most of CBs emails still use the old defines method which you'll find in the main php file of the language plugin. You can add more or change the existing as needed.


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.
The following user(s) said Thank You: henrik1782

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

11 years 8 months ago #210415 by henrik1782
Replied by henrik1782 on topic Re: Multilangual support... OMG
Ok... I know that I have to install language packages for Joomla. Been there done that.

But where can I ex. tranlate: [CB connect] Login with your Facebook profile, [CB Forums tab] Posts, Favorites, Subscriptions, [CB Invite] To, Sent, Accepted, Status, [CB Activity] has joined, has an updated profile etc.

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 47949
  • Thanks: 8170
  • Karma: 1434
11 years 8 months ago #210427 by krileon
Replied by krileon on topic Re: Multilangual support... OMG
All of those are incubator projects and their language strings aren't included in the default language plugin. You'll need to run our awk script to parse the plugins for language strings or edit the plugin and find their CBTxt usages then translate those strings in your CB language plugins.


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.
The following user(s) said Thank You: henrik1782

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

11 years 8 months ago - 11 years 8 months ago #210435 by henrik1782
Replied by henrik1782 on topic Re: Multilangual support... OMG
So I have to pharse each pluging and tranlate the string in CB language plugins using Define.

Instead of all members have to find out how to work with GAWK, or whatever is used, it could be nice to just have these strings as a textfile in the plugin package. Or having plugings usinging standard Joomla multilanguage framework :)
Last edit: 11 years 8 months ago by henrik1782.

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 47949
  • Thanks: 8170
  • Karma: 1434
11 years 8 months ago #210441 by krileon
Replied by krileon on topic Re: Multilangual support... OMG

using Define.

No, all incubator projects use the up to date CBTxt. Nothing new uses defines method anymore. Please see the cbteamplugins language file for usage.

Instead of all members have to find out how to work with GAWK, or whatever is used,

Correct, as they're optional plugins it doesn't make sense to include all their language strings in CB. However, when many of them move to CBs core for CB 2.0 so will their strings.

Or having plugings usinging standard Joomla multilanguage framework

Never going to happen, sorry. We ensure to keep CB independent of platform as much as possible, which is why it still works all the way back to mambo and J1.0.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum