Page 1 of 1

Multilingual support again

Posted: Mon Jul 14, 2008 5:31 pm
by 3LG0N0
Ahoi

i have a major problem with multilingual support. i already went through suggestions of thread http://board.s9y.org/viewtopic.php?t=12 ... ltilingual

but i doesn't work so far!
the problem: english is default language and it is not selectable from dropdown menu. I need german as default language and english as second selectable choice. all settings like override language detection from browser or setting up german as default language don't work. still english is displayed first. I could override that with just don't caring about that and writing articels in german in "default" but than i can't create an english content, because i can't select "en" from dropdown menu.
another side-effect: if i set german as default language and disable browser language detection i get german / german as choice.... one link points do *.html&serendipity[lang_selected]=de the other one to [lang_selected]=default (wich is normally english, because you cannot choose english anywhere).

i tried a bit with changing values and order in serendipity_config.inc.php but it didn't took me where i want to go :(

anyone of you has any suggestions to my problem?
i can set "de" as default but still "en" is missing then!

this is driving me nutz ;/

Serendipity 1.3.1 & PHP 5.2.5 & Multilingual 2.4

thx already
ELGono

Re: Multilingual support again

Posted: Tue Jul 15, 2008 10:09 am
by garvinhicking
Hi!

"Default" is always the language that you set up in your personal preferences. So when you set your personal preference language to "German", you have "German" as default, and should definitely get "english" in your dropdown!

The "default" language in s9y is necessary, because that is the original content that will get stored in the usual DB tables. All other language blog titles and bodies are stored inside an other table. Because many functions depend on "default" content being present, there is no real way to remove the default language and make all posts as language-specific.
i tried a bit with changing values and order in serendipity_config.inc.php but it didn't took me where i want to go :(

anyone of you has any suggestions to my problem?
i can set "de" as default but still "en" is missing then!
Did you revert all your manual changes to the s9y code? Delete all your cookies related to your blog and relogin to the s9y backend. Maybe because of your experimenting, some language cookies got stored in a way that both english and german is stored in either cookie.

HTH,
Garvin

Re: Multilingual support again

Posted: Tue Jul 15, 2008 2:35 pm
by 3LG0N0
[quote="garvinhicking"]Hi!

"Default" is always the language that you set up in your personal preferences. So when you set your personal preference language to "German", you have "German" as default, and should definitely get "english" in your dropdown!

Wow, that worked! now i got 3 entries german / english / german. But i could acces the english content from that link! great, thanks for advise! pretty sure autedection works now and chooses language well.

i tried alot, but didn't thought about personal settings. i cared more about deleting cookies and browser settings of language.

and to answer another question: i tried editing config files step by step with an backup-copy ;) ... i think the word BACKUP should be more present in this world ;)

thx again!
ELGono

Re: Multilingual support again

Posted: Tue Jul 15, 2008 3:15 pm
by garvinhicking
Hi!
Wow, that worked! now i got 3 entries german / english / german. But i could acces the english content from that link! great, thanks for advise! pretty sure autedection works now and chooses language well.
This might be caused by entries being available in those "non-standard" language. New entries should not exhibit this behaviour.

Sadly this is a real shortcoming of the multilingual plugin, because it really is based about the idea that a blog has a "default" language. However this also leads to trouble when different authors have different "default" languages, this can lead to your described symtopoms of seeing double languages...

Best regards,
Garvin