Hi,
I use 6.2.1 to define the language of a page and the corresponding documents/objects in other languages.
How can i implement a language switch in the header? I currently have a switch that goes to /en, but is it possible to link to the same page.
For example:
nl/werk goes to en/work.
Kind Regards,
Jasper
Language select
Re: Language select
Hi Jasper,
there is a new type of listview for links to the corresponding language: we:listview type="languageLink".
Here is an example from one of my projects:
Best regards
Thomas
there is a new type of listview for links to the corresponding language: we:listview type="languageLink".
Here is an example from one of my projects:
Code: Alles auswählen
<we:listview type="languagelink" name="languageLink" pagelanguage="top" showself="false">
<we:repeat>
<a href="<we:field name="we_path" />"><we:field name="WE_TARGETLOCALE" /></a>
</we:repeat>
</we:listview>
Thomas
Re: Language select
That's just what is was looking for, thanks!
Is there a way to change the output for the language, because right now it shows "en_GB".
Is there a way to change the output for the language, because right now it shows "en_GB".
Re: Language select
Does anyone know how to change the language name?
-
- webEdition Partner
- Beiträge: 330
- Registriert: Mi 28. Apr 2004, 00:27
- Wohnort: Münster
- Kontaktdaten:
Re: Language select
Hi Jasper,
the special field types you can use in listview type="languagelink" are <we:field name="WE_TARGETLOCALE" />,
<we:field name="WE_TARGETCOUNTRY"/>,<we:field name="WE_TARGETLANGUAGE"/>.
Please have a look at the new (Beta) Tag-Reference: http://www.webedition.org/de/webedition ... referenz/0
Ludger
the special field types you can use in listview type="languagelink" are <we:field name="WE_TARGETLOCALE" />,
<we:field name="WE_TARGETCOUNTRY"/>,<we:field name="WE_TARGETLANGUAGE"/>.
Please have a look at the new (Beta) Tag-Reference: http://www.webedition.org/de/webedition ... referenz/0
Ludger
----
ludger müller
gestaltung für bildschirm und papier aus münster in westfalen
bureau.artbeit.de
-----
Gründungsmitglied im webEdition e.V.
ludger müller
gestaltung für bildschirm und papier aus münster in westfalen
bureau.artbeit.de
-----
Gründungsmitglied im webEdition e.V.
Re: Language select
Thanks, that's great!
- Chefpraktikant
- Senior Member
- Beiträge: 302
- Registriert: Do 1. Jan 1970, 02:00
- Wohnort: Freising
- Kontaktdaten:
Re: Language select
Ab Version 6.3.4 gibt es auch
WE_TARGETLANGUAGE_NAME (z.B. Deutsch) und
WE_TARGETCOUNTRY_NAME (Deutschland).
WE_TARGETLANGUAGE_NAME (z.B. Deutsch) und
WE_TARGETCOUNTRY_NAME (Deutschland).
Internetagentur Aysberg • www.aysberg.de • webEdition Partner
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste