Hi AHHP & Lobasus,
@AHHP :
-----
Hi,
This is a DB table, yeah? So how do you get data from this table? by a snippet? if your answer is YES, so create a parameter for choosing language and use [% %] tags as value of this parameter like this:
Code:
[[yourSnippet? &lang=`[%LANG%]` ....]]
The &lang should use table column by changing language....
See the Ditto call example in the first post.
-----
Thanks for your reply.
Yes, it use MySQL. The old data is NOT using Modx (just normal PHP using cookies, send the content depend on the language he choosed). So it’s not using snippet. So, do you mean
via Snippet we can do that ? This is what I want to know (sorry, I’m new in Modx). I read somewhere at Forum, we need something like
Module for BackEnd & Snippets for FrontEnd to display it (if we want to using this old data with its table unchanged). TobyL gave me a Tip, that
it can be done via Snippets (please see :
http://modxcms.com/forums/index.php/topic,32782.0.html) . I think, to use this plugin, we must ’convert’ the old content to Modx (if we don’t want to type it one by one at the plugin ...

... because I have already so many contents in it with some languages .... ) O.K, I will read througout your first post again ... Many Thanks. Nice plugin AHHP ...
Another question :
The Modx content is stored in (Modx_prefix)site_content table. So, if using this Plugin, where will the translated content be stored ?
Also in the same table (with extra field in the table) ?
@Labasus :
------
This question is off topic, better
create new one for this task or just outsource some guru to do that.
Last stuff will not takes lot of time:)
As I see
it is not possible to use cached pages any more. For some large sites it won’t get a great optimization goal.
------
Thanks also for your reply.
If I try to create new one, what must I do ? Create Module, plugin or Snippets ?
Outsource some guru, which one, how much approximately ?
About cache, this plugin need that the cacheable option to be turn off. But can you explain, why is it not worth to use in large site ?
Many Thanks ...
Best Regards,
- pedma -