Okay. In the meantime, I will set up and test the configuration you want more thoroughly on a test installation. Have a great holiday!
It should work, only the syntax changed slightly in a recent version. It’s now:
[[YAMS? &get=`text` &from=`en::hello||fr::bonjour||ja::こんにちは||gr::γειά σου`]]
Create one chunk for each language which will display the name of the country in the correct language for the current page:
{{England}} -> [[YAMS? &get=`text` &from=`en::England||fr::Angleterre||de::England`]]
{{France}} -> [[YAMS? &get=`text` &from=`en::France||fr::France||de::Frankreich`]]
{{Germany}} -> [[YAMS? &get=`text` &from=`en::Germany||fr::Allemagne||de::Deutschland`]]
...
Then in the input option values field for your radio button tv put:
England=={{England}}||France=={{France}}||Germany=={{Germany}}
Dear all.
YAMS 1.0.4 beta is now available for download
from my server. As well as several bug fixes, it includes updated documentation.
Those using version 1.0.4 alpha RC 4 may have read/noticed I had to introduce a temporary hack whereby all pages would return 200 - whether or not the original page had been found or not. This was to avoid a problem whereby the site root was returning 404 not found. After much investigation it turns out that the 404s were due to a bug in MODx that is actually fixed in MODx Evolution but affects all versions prior to it. I have introduced a work-around for this bug in version 1.0.4 beta that works for those running versions of MODx prior to MODx Evolution 1.0.0. The site start and site error pages now function as they should again.
Multilingual aliases here we come...!
Dear all.
YAMS 1.0.5 beta is now available
from my server and will be available from the MODx repository shortly. This corrects a couple of bugs found in 1.0.4 beta. (Thanks to jonimant and burn for reporting them.)
Just wanted to let you know I didn’t drop off the face of the planet. I had to go out of town last Friday and I have another higher priority project that I *must* work on this week. However, I’m going to try and split my time up the best I can so we can finalize the multilingual aliases features.
I’ll be in touch,
--mgbowman
Thanks. Don’t rush off and do anything just yet though. I took what you provided and integrated it into YAMS yesterday. I had to tweak it and generalise it a bit so that it can handle friendly alias paths on and off, can deal with the site start alias not being shown, and so that it does proper encoding and decoding of URLs - but it looks like it’s all working! All the mysql calls you provided work like a charm. Will probably have a first multilingual release available tonight for testing.