-
☆ A M B ☆
- 24,524 Posts
Are you sure that you understand how YAMS works? Instead of using the regular resource fields (page title, content, etc) it uses TVs for each language for these fields. It depends on .htaccess rules to let MODx know which TV to load when a page is requested in a given language.
So you need to provide the translated text for each of the TVs, as well as add the rewrite rules to your .htaccess file. You also need to adjust your snippets to be YAMS-aware; for example for your Wayfinder menus you need customized tpls.
http://rtfm.modx.com/display/ADDON/YAMS+English+Documentation
http://rtfm.modx.com/pages/viewpage.action?pageId=13205620
Thank you for your reply!
Yes, I have set up all the TV-Parametrs, all pages translate correctly when you click to change the language. It is easier to explain the problem with an example:
I come to the site. By default, the site is in Russian. I press the change language button and the page is translated into English, using the TV-Parametrs, which I had previously filled. But, if I click on any internal link (not using the menu Wayfinder), page is opened again in Russian, although it also prescribed [* pagetitle *] and other TV-Paramerts in English, which uses YAMS. You have to push the button again to switch the language to see the page in English. Now, what is the problem.
I understand that i miss a moment to configure templates, or something else. I do not use Wayfinder... Maybe there is something that i need to adjust? .htaccess file is filled correctly, using YAMS settings code. Can you show me the code for .htaccess that answers for loading page in the target language?
The fact that all the YAMS documentation is in English. My native language is not available. It is therefore very difficult to deal with setting up the module ...
I hope very much for your help, my friends!
[ed. note: blogunko last edited this post 13 years, 9 months ago.]