Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Localizations behavior!



******    message to minivend-users from jojo@buchonline.net     ******

Hi list,

I´ve a site with frames. In my last frame (bottom), there are some
links like

<A HREF="[area href="process/locale/en_US/page/frameunten"]" onClick="top.frames[1].location.reload()">English</A>
<A HREF="[area href="process/locale/es_ES/page/frameunten"]" onClick="top.frames[1].location.reload()">Espanol</A>
<A HREF="[area href="process/locale/de_DE/page/frameunten"]" onClick="top.frames[1].location.reload()">Deutsch</A>


At the first time, I see "Log in" ([L]Log in[/L]). If I click the link
"Deutsch", the main frame is reloading and I still see "Log in" instead
of "Anmelden". After reloading the main frame via right mouse button
(reload frame via NS 4.7), I get "Anmelden". This is what I want.

I´ve another page. In this page, it check the locale setting like

[if scratch mv_locale eq de_DE]
[set name="Personendatabase" interpolate=1]Personen[/set]
[elsif scratch mv_locale eq en_US]
[set name="Personendatabase" interpolate=1]PersonenUs[/set]
[/elsif]
[elsif scratch mv_locale eq es_ES] 
[set name="Personendatabase" interpolate=1]PersonenEspanol[/set]
[/elsif]
etc...

and use

[data table="[scratch Personendatabase]" column="vitae" key="[scratch artist]"]

I can change the language with the above links and the effect is
immediately. I can read the german text immediately and I don´t
need to reload the main frame twice.

I´m in a muddle. Why should I reload some pages twice to get the page
with another language? The URL of this main frame is always looking like

http://www.mydomain.com/cgi-bin/myshop/checkout

nothing else. I have try with [loc]...[/loc] instead of [L]...[/L]. I
still need to reload the main frame twice. Any comments?

Any hints, helps and suggestions are very welcome.

Thanks!

Joachim


-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: