Currently there is no functionallity to get content created by user localized to currently selected language. So my idea is, to create a related table in DB to keep content depending on the selected language. When switching to an other language, initially the content is empty. When editig the content, there should be a button, to display a dialog with a field for the default content and a field for the content to translate. Translated content should be saved then to the related table with the language id.
By Franz in Widgets |
Status: completed
The v2.1.3 is add "G" label to localized your user contents.We do not need to change and table to support this feature. You only to set save the user content to your resource file and use the "G" label to replace the content. Usage: 1. [g:resKey] - the G label will locate the resource in "language.xx-xx.res" and "labels.xx-xx.res" files. 2. [g:classKey:resKey] - Specified the resource class which contain the resKey.
|
Ray
11.01.2012 08:13:18
|
|