Forums / General / Translation question
Ivan Švogor
Monday 13 December 2010 7:23:20 am
I'm developing a site that has one main language, and one extra. Now, not all content will be translated to this extra language. Now, is there a way, to do the following. When user is browsing the site on this extra language, and there is no translation, I would like to show the original language. So it will not show blank page if there is no translation.
Thank you!
Ivo Lukac
Monday 13 December 2010 10:21:32 am
For every siteaccess you can add list of languages that are shown (in priority order), so you cro siteaccess site.ini will have this:
[RegionalSettings] SiteLanguageList[] SiteLanguageList[]=cro-HR SiteLanguageList[]=eng-GB
http://www.linkedin.com/in/ivolukac http://www.netgen.hr/eng/blog http://twitter.com/ilukac
Lo' F.
Wednesday 15 December 2010 1:59:49 pm
..Besides, in the admin interface, the translation tab of the selected node has a checkbox which allows you to decide whether or not use the main language if there are no prioritized translation.
By the way, if you decide not to tick this checkbox for a node without translation (and so decide to make the page available only if it has the current siteaccess version), this won't show an empty page when you click but just redirect you to the home page.
loredanaebook.it