We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16183
    • 1,390 Posts
    Quote from: pedmajungne at Feb 12, 2009, 01:37 AM

    (snip)...Modx is more complex than Joomla, I need some more time ... smiley

    Ye it is but once you get it, you’ll be amazed at what you can do!

    cheers/k
      • 22958
      • 50 Posts
      HI Kongondo,

      Thanks for your tips on multilingual plugin. It’s still in development, but nice. I have downloaded & tested it. But still don’t know how to translate the content with the same id. ( please see => http://modxcms.com/forums/index.php/topic,32807.30.html ).

      If it’s stable, can it be changed a little to use with my ’old multilingual data’ ? Any tips ?

      Thanks.
      Best Regards,
      - pedma -
        • 16183
        • 1,390 Posts
        Quote from: pedmajungne at Feb 12, 2009, 11:28 AM

        HI Kongondo,

        If it’s stable, can it be changed a little to use with my ’old multilingual data’ ? Any tips ?

        Thanks.
        Best Regards,
        - pedma -

        Hmm, unfortunately I haven’t used the plugin myself so can’t offer any tips sad I see though that your questions have been answered in that link you posted?

        cheers/k
          • 22958
          • 50 Posts
          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 wink

          --------------------

          Thanks.
          Best Regards,
          - pedma -

            • 22958
            • 50 Posts
            Hi,

            I have made it run ... smiley The problem is at the cached page. This must be TURN OFF !!
            (please see : http://modxcms.com/forums/index.php/topic,32807.30.html

            Nice plugin ... smiley

            Thanks.
            Best Regards,
            - pedma -