multi language list field

More
12 years 10 months ago #26792 by micker
Replied by micker on topic multi language list field
for me i use:
-language file in template
-multilangue of joomla
-multilangue plugin CK for some string
-rereplacer for other...
it work perfect, just a little work ;)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 10 months ago #26825 by yaK2manD
Replied by yaK2manD on topic multi language list field
I have tested this suggestion. Works very well. This artefact is really good.

Thank you.

I rewrite all urls through those components.

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

More
12 years 10 months ago #26826 by yaK2manD
Replied by yaK2manD on topic multi language list field
However, in the frontend form, categories are not translated ...

and when modifying path, submenus are not shown. i know htis is normal because Joomla stores path into database, so sef urls are saved pre-formatted (before ReReplacer).

In order to get a full SEF website, it is not a really good solution.

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

More
12 years 10 months ago #26827 by micker
Replied by micker on topic multi language list field
...url ... did you use joomla plugin to generate url ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 10 months ago #26831 by yaK2manD
Replied by yaK2manD on topic multi language list field
Yes.

The thing to do is to create correct menu system in each language then use those 2 plugins to rename categories, ...

I have tested this thing all night.


However, in the frontend item form, categories are not translated.


And I wanna thank you for this component. Sans aucun doute le meilleur pour Joomla.

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

More
12 years 10 months ago #27014 by rottenberg
I have got some problem of execution of translation in some specific cases. The order of execution of system plugins is very important.

So I don't use anymore Système - Multi Languages CK. I do all translation using only Rereplacer.

For each language used in the site I create a Rereplacer record :

What I did for french :

in the seach field I write :
Code:
\{fr\}(.*?)\{/fr\}
this interprets all text which is written like that {fr}....you text to write in french...{/fr}

in the replace field I write :
Code:
{source 0} [[?php $parm = "\1"; $lg = &JFactory::getLanguage(); switch (substr($lg->get('tag')[[comma]]0[[comma]]2)) { case "fr" : echo $parm; break; default: echo ""; } ?]] {/source}

this is some PHP which get the origin text (....you text to write in french...) in the present case
Then it checks what is the current language used in the text.

If it's french it replaces {fr}....you text to write in french...{/fr} by ....you text to write in french...
If it's an other language it replace {fr}....you text to write in french...{/fr} by nothing



You need to do a rereplacer record for each language used in the site. Just change to language code in the case line.

VERY IMPORTANT :

1 - the search record is a regular expression : you need to tell it in the right part of the rereplacer form (if not, it wont work).
2 - You need to upload the Sourcerer plugin from NONUMBER.nl (another usefull plugin which allows to insert php directly inside a text).
3 - in the order of system plugin Rereplacer is to be placed before Sourcerer.

There are some rules to use with Sourcerer :
- don't use ',' . You need to replace it by comma
- '<' is to be replaced by '['
- '>' is to be replaced by ']'

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.529 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save