Hi Kongondo,
Thanks for your reply. I have tested the plugin in these 2 days ... But have not 100% success ... The content is still the same, even though the URL is changed. I still not understand, shall I create Chunk/Snippet for it ?
But still don’t know how ...
This below are from its documentation :
----------------------------
Examples of usage:
To create a multilingual site, you need to create MODx document fields which you need as TVs, for example in my site only "page title" and "content" need to change for each language, so i create a textarea TV (with editor) and name it "decontent" and another for page title "depagetitle". So i need to put TV below in my template instead [*content*]:
[*[%lang%]content*]
when user chooses the "German", this TV will change to [*decontent*] and in standard mode, [%lang%] is empty and TV will be [*content*].
This plugin DOES NOT converts [% %] in chunks but if you need use different chunks as tpls, You must create a chunk for each language like this {{[%LANGUAGE%]Chunk}}, so if language is Persian it will be {{persianChunk}} in snippets like Ditto:
[[Ditto? &language=`[%LANGUAGE%]` &tpl=`[%LANG%]_ditto`......]]
so when language is Espanish, snippets will be
[[Ditto? &language=`espanish` &tpl=`es_ditto`......]]
You can use it in chunk tags: {{[%language%]Chunk}}, so if language is French, it will be {{frenchChunk}}
EasyLingual tags also converts in placeholder tags for your custom snippets.
EasyLingual also has feature for RTL languages. For this languages, using translations is not enaugh and usually the views must change to LTR and RTL too. So you can [%dir%] and [%align%] tags in your templates (e.g. <div dir="[%dir%]" align="[%align%]">)
It let you create dynamic templates for RTL and LTR languages
--------------------
Thanks.
Best Regards,
- pedma -