[SOLVED] Translations and language pack

11 years 3 weeks ago - 9 years 2 months ago #224782 by siwayjoomla
[SOLVED] Translations and language pack was created by siwayjoomla
Hi all,
It is a question about the "best practice" with custom translations.

I created a custom field with a language string. If I add it to the regular language file (CB default_language, or fr-fr), it is well translated.

Then I tried to create a language pack to store my "custom translations" (in order to keep the original files on one side, and my pack on other side).

I managed to install it as a CB plugin. But it does not translate the language strings.

So my question are :
- What is the right way to deal with this ?
-- Should I store the transaltions on the "original" translation files
-- How to declare a translation pack to be linked to a language (fr-FR by example)

I ckecked the documentations and the forum, but I could not find the answer to those questions. May be I did not check it well, and if so, just prodide me the link to the right documentation (or forum), I do not want to bother you with already answered questions.

Thank you,
Nicolas

Please Log in to join the conversation.

11 years 3 weeks ago #224803 by krileon
Replied by krileon on topic Translations and language pack
Always translate language plugins. You should avoid translating default_language. If you need to adjust English strings or add English strings you should download the English language plugin below.

forge.joomlapolis.com/projects/lan-cb-en/files

The reason for this is when you update CB we replace the default_language files with new ones so on update of CB you'd lose all your changes with no way to recover except for a backup. You can find more details on language usage below.

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

Please Log in to join the conversation.

9 years 2 months ago #258578 by siwayjoomla
Replied by siwayjoomla on topic Translations and language pack
This topic is solved to me.
The following user(s) said Thank You: nant

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.208 seconds

Facebook Twitter LinkedIn