Page 1 of 1

Use serendipity with several languages?

Posted: Mon Nov 02, 2009 7:32 am
by Bernie
Hi,

I am planning to start a blog in two languages (German and English). In the features list of serendipity, I have read that it supports "multiple languages". Does this mean it supports different languages or several languages at once.

My plan is whenever I write an article, to provide it in English and German, but I do not want to use two different installations of serendipity, but only one.

Is this possible?

Re: Use serendipity with several languages?

Posted: Mon Nov 02, 2009 11:18 am
by yellowled
Bernie wrote:My plan is whenever I write an article, to provide it in English and German, but I do not want to use two different installations of serendipity, but only one.

Is this possible?
Yes. You'll need to install the Multilingual plugin (part of the s9y core). It does have (just my personal opinion) some quirks, but it works.

YL

Re: Use serendipity with several languages?

Posted: Mon Nov 02, 2009 5:00 pm
by Bernie
that's great! thanks a lot, I will try it!

Re: Use serendipity with several languages?

Posted: Wed Nov 04, 2009 2:44 am
by Bernie
I have a follow-up question. I managed to have bilingual entries.

Can I somehow set a default-language for the user? I.e. if a user accesses the blog from a .de domain, he will see all entries in German, when he accesses the blog from a .com domain, he'll see the English version.

Thanks!

Re: Use serendipity with several languages?

Posted: Wed Nov 04, 2009 10:56 am
by garvinhicking
Hi!

That would be quite unusual. The multilingual plugin supports to detect the user's language through his preference inside the browser, if you enable the s9y config option "Auto-Detect visitor's language".

You could do it with .de/.com detection if you write up your own plugin or simple PHP code in serendipity_config_local.inc.php - but that's not a really good idea, IMHO. :)

Regards,
Garvin

Re: Use serendipity with several languages?

Posted: Thu Nov 05, 2009 1:01 am
by Bernie
garvinhicking wrote:Hi!

That would be quite unusual. The multilingual plugin supports to detect the user's language through his preference inside the browser, if you enable the s9y config option "Auto-Detect visitor's language".

You could do it with .de/.com detection if you write up your own plugin or simple PHP code in serendipity_config_local.inc.php - but that's not a really good idea, IMHO. :)

Regards,
Garvin
Hi Garvin,

I didn't know that it uses the language set in the browser. that's great, thanks :)