Quote from: eerne at Jul 09, 2010, 07:43 AM
I’m not a big fan of interlink between language variants and am not suggesting to do so, but technically one id to the main context should be enough. A resource could then pull documents with the same main-id from each context and would get all siblings for each lang.
This id reference to the main-context could also be used as fallback if the page hasn’t been translated (just an idea).
Actually it happens a lot (to me, at least) to search for something and find it in some blog in a different language. I am really grateful when finding the button for english and not having to go to the top of the site and to search for a language that I understand.
If you want to consider that that the translations are in fact different sites, then it’s OK to have different resources. Although in this case I would choose two different domains. But if you want to make, let’s say, a multilingual blog, juggling with multiple resources and lexicon strings is far from ideal.
I see two needs here:
1. one includes the translations of the interface - templates, snippets, chunks, and so on. These translations are reusable so it makes perfect sense to use lexicons.
2. the other one include multi-language content - the resources’ content, which is certainly not reusable (at least this is what Google tells you

). It goes from different sites, where the content has vague connections between translations, to multi-lingual blogs, where ideally the content is translated ad-literam. I don’t see any use for lexicon here. But, then again, I’m not very good at it.
The main problem, as I see it, is the interface.
The actual lexicon management is just listing some variables. Not very practical, as the purpose of it would be translating some strings instead of redefining variables. It would make more sense to have two "Value" columns, one for a language you choose as a reference and another one to work on. Also, I couldn’t find a way to define new lexicon entries from the Lexicon Management. I mean, I create a new entry in the lexicon file and then I go to the Lexicon Manager to override it. Why bother? I like files more, anyway.
The same goes for resources. A translation interface would have to give a reference beside the translation you’re working on. Although I understand that most of the sites will not be multi-lingual, so the need for such an interface is not great.
I think that the Lexicon Management default interface can be improved towards its purpose. And I think I’ll have to make my own resource content interface. I just have to learn to alter the Manager interface.
Also, the "context" concept is not quite what I hoped for, because one cannot "apply" contexts to resources. One resource is tied to one context. Or maybe there is something else working that way? I saw "culture" somewhere here, but my searches were fruitless.
Anyway...
We shall go on to the end.
We shall fight in France,
We shall fight on the seas and oceans,
We shall fight with GROWING confidence and GROWING strength in the air.
We shall defend our island whatever the cost may be.
We shall fight on beaches, we shall fight on the landing grounds,
We shall fight in the fields and in the streets.
We shall fight in the hills,
We shall never surrender.
Best regards.
Oh, and don’t beat me. I’m a fan. I keep wrestling MODx because I know it can be done (whatever is it): D.