Multiple Languages

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Nordlicht
Posts: 160
Joined: Wed 12. Apr 2006, 08:16
Location: Germany, near Hamburg
Contact:

Post by Nordlicht »

But I can't switch the language on a specific site and have it displayed in the second language. When I switch language it alway jumps back to the root-page of the language-tree-branch.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

[x]
Last edited by Jensensen on Sat 20. Sep 2008, 03:49, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
Nordlicht
Posts: 160
Joined: Wed 12. Apr 2006, 08:16
Location: Germany, near Hamburg
Contact:

Post by Nordlicht »

I know that, you can also let
de and en be the index of each language.

But I want to know if it possible to change the language
when you are on de - cat1
to get directly to en -cat1

Like it is on yaml.de
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

[x]
Last edited by Jensensen on Sat 20. Sep 2008, 03:49, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Nordlicht,

please have a look: http://www.phpwcms.de/forum/viewtopic.p ... sc&start=0

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Will
Posts: 55
Joined: Mon 9. Aug 2004, 05:30

Post by Will »

I think an easier way to get a real multilanguage website could be achieve if we could be able to specify under which languages a certain CP must be shown.

So when we create a new article we will see:

TITLE: _______ (for default language) (+)
(if you click on the (+) symbol you will be given the possibility to add a new title on a different language:
ALTERNATE TITLE: ______________
FOR LANGUAGE(s) : ( ) Lang 1 ( ) Lang 2 ... ( ) Lang n (a multiselect list box)
(+) (just in case you need more.

This goes for the Title.

And for any CP a new parameter:
FOR LANGUAGE(s) : ( ) Lang 1 ( ) Lang 2 ... ( ) Lang n (a multiselect list box)

With this approach phpWCMS could show CPs only intented to be shown for the selected language... and show the arrpopiate title.

I think this is not complicated given the current code structure (for a phpWMCS knowledged programmer of course).

I hope this helps.. anyhow.

All best,
Will
Will
Post Reply