Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > TYPO3 General Discussion > Templates > langMenu in template
Total Posts: 4 - Pages (1): [1]
Author: mediatech
Posted: Nov 18 2007 - 05:00 PM
Subject: re: langMenu in template
I'm assuming you have had a look at this?
http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/1.0.0/view/1/2/

Regards,
Gregory Remington

----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: emoedgars
Posted: Nov 18 2007 - 12:27 PM
Subject: re: langMenu in template
Hi! I tryed to find something usefull, but nothing. All is talking about how good it is, but I can't find even normal FAQ to check some possible mistyping problems. I'm still searching...
Author: mediatech
Posted: Nov 14 2007 - 02:05 PM
Subject: re: langMenu in template
I would like to know the answer to this myself. I have never needed to setup a multi language web site. Some of the people I work with have. I'll have an answer as soon as I'm done with a project deadline. In the meantime keep trying Google.

http://www.google.com/search?hl=en&q=lib.langMenu+flags&btnG=Search

If you find the answer before I do please share

Kind regards,
Gregory Remington

----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: emoedgars
Posted: Nov 12 2007 - 07:49 AM
Subject: langMenu in template
Hi! I'm working on homepage and can't implement language menu. So what I have. I saw a litle code on internet, that I placed in Setup:

###################################
lib.langMenu = HMENU
lib.langMenu.special = language

# Define language ID (id)
lib.langMenu.special.value = 0,1

# Show flag symbol
lib.langMenu.1 = GMENU
lib.langMenu.1.NO {

XY = [5.w], [5.h]
backColor = white
5 = IMAGE

# Flag's graphic (0) || 1
5.file = fileadmin/templates/flags/lv.gif || fileadmin/templates/flags/ru.gif

}

# die Flagge der aktuell ausgewählten Sprache soll keinen Link erhalten (something)
lib.langMenu.1.ACT < lib.langMenu.1.NO
lib.langMenu.1.ACT=1
lib.langMenu.1.ACT.noLink = 1

# L Variable for language
config.linkVars = L

# Standart languge UID 0 -> latvian
config.sys_language_uid = 0
config.language = lv
config.locale_all = lv_LV

# Russian language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = ru
config.locale_all = russian
[global]

config.sys_language_overlay = 1
###################################

The result is - I can use both languages - latvian and russian, but:
I can't see the flags
If I write manualy in adress bar &L=1 i get russian translation, but i'ts mixed up with latvian version
Also, I have set <div>###LANGMENU###</div>, but it's no use!

Can someone could help? Thanx!
Total Posts: 4 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support