Share » Forums » Developer » More multi-language problems (basic)

More multi-language problems (basic)

More multi-language problems (basic)

Monday 13 March 2006 5:35:00 am - 4 replies

Author Message

Felix Laate

Monday 13 March 2006 5:46:33 am

Hoy,

if I understand you right, you could do somthing like this:

1) make different siteaccesses for each language and configure <i>site.ini.append.php</i> for each access like this (example for a certain strange norwegian sub-language):

[RegionalSettings]
Locale=nno-NO
HTTPLocale=no
ContentObjectLocale=nno-NO
TextTranslation=enabled

[ContentSettings]
TranslationList=eng-GB;ger-DE;nor-NO

For each access you need to replace nno-NO with the language needed for that access.

2) On your pagelayout, put som HTML which links to each access

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Clemens T

Tuesday 14 March 2006 2:09:16 am

Isn't it a bit uhm.. expensive in terms of diskspace/engineering etc. to be making a different site-access for every language. Or is this THE WAY to do multi-language in ezpublish? Maybe I'll try translation files, is that a good idea? Because the layout of every language is exactly the same, and I would not like to edit 2 files if it is about a layout issue.

So basically the question is, to enable multi-language, what is a better idea:
-use translation (.ts) files, and implement translation in my templates
-creating a siteaccess for every language I want to add.

Thanks for all the help!
Great forum :),
Clemens

Hapee de Groot

Tuesday 14 March 2006 2:19:37 am

That has always been the discussion, it was my choice to do it with the siteaccess solution, but the reason to make this choice that I did not really have to translate all articles. So we have a dutch section, english and spanish one and we each siteaccess has it own content so the translation way was not an option because you can only translate an article if it exists in its default language and we did not have a default language. Up till now the siteaccess solution works perfect.

Clemens T

Tuesday 14 March 2006 11:17:57 am

Ok.

thanks for the input!

I will do this:

- using translation files to translate the non-contentobject-related text in templates.
- using the translation system of ezpublish to translate all the contentobjects I would like to be translate

this is because I DO have a default language and a sub-language which covers part of the site.

Thanks a lot all!
Greets,
Clemens

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu