Hi Philippe, If you do not want translate something, you do not have to translate it at all. As Stojan said before, if you leave a field empty in the secondary language it will receive the value from the primary (fllaback). So if you do not want to translate it you simply don't do it!
However, there is a small problem with the different number of paragraphs in the different language pages. For example, if you have 2 laguages (en and de, en as fallback) and you have 2 paragraphs in the en page, and only one in the de page. The "extra" paragraph from the en page will appear in the de page in english (just to be clear, it is the same page, although I speak of en and de page). However, it is not the opposite case. If the de page has 2 paragraphs and the en page has 1 paragraphs, the "extra" paragraph will not appear in the en page. I guess this can be fixed some how programmaticly, so I wouldn't be worried much about it. As every idea, perhaps it needs a little more development and testing, but I think that this is a good idea and should be a part of Magnolia. If you do not agree it's ok, but I still haven't seen a better one from anybody. It's easy, does not have extra config nodes, and it does not affect any of the other magnolia functionalities. Regards.. Vasko On Fri, Jul 4, 2008 at 11:27 AM, JIRA (on behalf of Philippe Marschall) <dev-list@magnolia.info> wrote: > > [ > http://jira.magnolia.info/browse/MAGNOLIA-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843#action_16843 > ] > > Philippe Marschall commented on MAGNOLIA-2124: > ---------------------------------------------- > > I didn't say there are cases where you want everything to be "translated". > What I'm saying is there are cases when i don't want everything to be > translated. With the state of affairs in Magnolia 3.5 I can do that. With our > proposal I can't do that. > >> I18nContentSupport for dialogs >> ------------------------------ >> >> Key: MAGNOLIA-2124 >> URL: http://jira.magnolia.info/browse/MAGNOLIA-2124 >> Project: Magnolia >> Issue Type: Improvement >> Components: gui >> Affects Versions: 3.6 >> Environment: Irrelevant >> Reporter: Stojan Peshov >> Assignee: Boris Kraft >> Fix For: 3.6 >> >> Attachments: i18supportForDialogs.patch >> >> >> In MAGNOLIA-1431 it is stated that we should make copies of dialog controls >> (or even locale tabs) with locale extensions if we want to have i18n aware >> dialog. >> This solution leads as to many copies (tabs) if we want to cover many >> languages. >> Therefore, we've modified the initialization of dialogs in order to have one >> dialog for all languages. >> The solution works like this: >> When a page is displayed i18nContentSupportFilter sets the current locale >> and when a dialog is opened all the control's names are suffixed with the >> locale (if the locale is different than the fallback locale) >> ex. a dialog with edit control named "text" will become "text_[locale]". >> The rest of the job remains to the Save handler which creates the localized >> content (nodeDatas). >> If you edit the dialog then the content of the current language is filled in >> the controls. >> This way we have only one dialog and unlimited number of languages, without >> the need of creating additional tabs (or controls). >> Note: This way there is no possibility to edit more than one language at >> once. >> For this functionality we modified the following: >> - DialogControlImpl.initializeConfig >> - I18nContentSupportFilter >> - DefaultI18nContentSupport >> - I18nContentSupport >> All of the classes have minor changes, that don't affect other >> functionalities. >> We attached the patch and hope that you'll like it. :) >> p.s. we also have created a language chooser (changer) tag that successfully >> implements the suggested solution > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://jira.magnolia.info/secure/Administrators.jspa > - > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/ > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------