Relationships, dynamic valuelists in multilingual mode
Posted: Thu Sep 29, 2011 4:46 pm
I'm trying to implement multilingual support in the xataface application I'm working on, but I have the following problem:
With multilingual_content=0 everything works ok, relationships, dynamic valuelists (for yui_autocomplete) including field translations. Translation action shows for tables with multiple languages but selecting source or destination language have no effect (reverts to default language)
With multilingual_content=1 everything works ok only on isolated tables (no relationships or dynamic valuelists). The other tables work ok only for the default language, selecting other language results in a "500 internal server error"
Commenting out the 'vocabulary' definition in each table fields.ini gets the list action to work for all languages, but the details/edit and translate actions returns a blank page.
The internal server error still shows for my master table when selecting other than the default language.
My database is built this way:
My config.ini:
What I'm missing?
And how do I define different dynamic valuelists for each language?
With multilingual_content=0 everything works ok, relationships, dynamic valuelists (for yui_autocomplete) including field translations. Translation action shows for tables with multiple languages but selecting source or destination language have no effect (reverts to default language)
With multilingual_content=1 everything works ok only on isolated tables (no relationships or dynamic valuelists). The other tables work ok only for the default language, selecting other language results in a "500 internal server error"
Commenting out the 'vocabulary' definition in each table fields.ini gets the list action to work for all languages, but the details/edit and translate actions returns a blank page.
The internal server error still shows for my master table when selecting other than the default language.
My database is built this way:
- Code: Select all
Magazine
|
-> Issue
|
|-> Article
|-> local_link
-> ext_link
Scan_project
Users
My config.ini:
- Code: Select all
default_oe = UTF-8
default_ie = UTF-8
default_language = en
multilingual_content = 1
[_database]
...
...
[languages]
en = en
es = es
What I'm missing?
And how do I define different dynamic valuelists for each language?