This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.

Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.

Topic with no new replies

wec_map and local_lang


Author Message
Written on: 08/19/2008
Andrea Herzog-Kienast
Topic creator
registered since: 08/19/2008
Posts: 20
Hi,
I use the wec_map on a multilingual site.
I have 2 different plugin: one for feusers and the other one with a simple map.

Everything is working. Except on the simple mode page plugin. The text for the decription is allways in german language. The text is "Wegbeschreibung" instead of "Description". Also the text elements for fromhereto and toherefrom are in german.

On the other plugin with the frontendusers everything ist in the correct language.
Does anyone know this problem?

Best,
Andrea
Written on: 08/20/2008
Christoph Koehler
registered since: 10/24/2005
Posts: 383
Andrea,

I assume you have your backend in German? Some parts take the locallang variables from the currently logged in user, which in this case is you. Since your language is German, it shows that.
If you log out of the backend or look at the frontent from another browser or computer, you should see it all in one language.

Christoph
Written on: 08/22/2008
Andrea Herzog-Kienast
Topic creator
registered since: 08/19/2008
Posts: 20
Hi Christoph,
thatīs it. Thank you. This I havenīt tried. Now everything is ok.

Best,

Andrea
Written on: 09/24/2010
Karl Meidroppe
registered since: 09/24/2010
Posts: 2
Hi,
how to FORCE wec_map to show map controls, bubble content AND routing information in

- FE language ?
- browsers locale ?

Thanks a lot

icon_biggrin.gif
Written on: 09/24/2010
Christoph Koehler
registered since: 10/24/2005
Posts: 383
"Karl Meidroppe" wrote:

Hi,
how to FORCE wec_map to show map controls, bubble content AND routing information in
- FE language ?
- browsers locale ?
Thanks a lot
icon_biggrin.gif


Karl,

Rewrite the language handling icon_smile.gif It should work out of the box with no one logged in the BE.

Christoph
Written on: 09/30/2010
Karl Meidroppe
registered since: 09/24/2010
Posts: 2
"Christoph Koehler" wrote:

Karl,
Rewrite the language handling icon_smile.gif It should work out of the box with no one logged in the BE.
Christoph

This concerns the Typo3 4.4 Introduction Package.
Here's how to get it working:
Changes in page.config Setup:

config {
language = de
locale_all = de_DE.UTF-8
htmlTag_langKey = de
}
// Condition to set language according to L POST/GET variable
[globalVar = GP:L = 1]
config {
htmlTag_langKey = en
sys_language_uid = 1
language = en
locale_all = en_US
}
[global]

Changes in Template ROOT Constants:

plugin.meta {
language = de
}
contentpage {
# cat=contentpage; type=string; label= language1: name of the default language of this site
language1 = Deutsch
# cat=contentpage; type=string; label= language2: name of the second language of this site
language2 = English
}

Also changed Backend Lnaguage from Dansk to German.
Have fun.