[TYPO3-english] Can someone point me how to make translations to typo3 6.1, and create a dropdown menu for language

Stephan Schuler Stephan.Schuler at netlogix.de
Wed May 28 11:09:09 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hey there.

The procedure hasn't change since ages, so the basics of every tutorial you find should apply to every current TYPO3 version.

The language to be displayed is determined by the GET var "L".

You need to set up a couple of "config.*" values to reflect a certain language based on the GET var "L". So best practice is to use a couple of "globalVar" conditions in order to adjust them according to input data.

Example:
> config {
>     sys_language_uid = 0
>     language = en
>     locale_all = en_EN.UTF-8
>     htmlTag_langKey = en
> }
> [globalVar = GP:L = 1]
> config {
>     sys_language_uid = 1
>     language = de
>     locale_all = de_DE.UTF-8
>     htmlTag_langKey = de
> }
> [GLOBAL]
http://docs.typo3.org/TYPO3/FrontendLocalizationGuide/BasicSetupOfALocalizedWebsite/TyposcriptConfiguration/Index.html


For the menu you simply need to create a TypoLink to the very same page and adjust the L argument. You can do that in many different ways. Create your custom language menu in pure TypoScript requires to know about TypoLink. Well, you should know about TypoLink, no matter if you want to create a language menu or any other TYPO3 frontend section. Or you can use some fluid things. Then you should know about the Link/PageViewHelper. Or you can use the TypoScript element "Language Selector Menu", which is a special way of HMENU.
http://docs.typo3.org/TYPO3/FrontendLocalizationGuide/BasicSetupOfALocalizedWebsite/LanguageSelectorMenu/Index.html


By the way: I had no problem at all of finding proper documentation.
I just searched on google for "site:docs.typo3.org language" and was pointed to everything needed right away.

Regards,



Stephan Schuler
Web-Entwickler

Telefon: +49 (911) 539909 - 0
E-Mail: Stephan.Schuler at netlogix.de
Website: media.netlogix.de



- -----------------------------
Citrix XenApp & Desktop 7.5 – Das Wichtigste in einem Tag
Lernen Sie die neue Version kennen. Jetzt anmelden zum netlogix 79er Seminar am 26.06.2014 für nur 79.- EUR:
Jetzt anmelden: http://it-training.netlogix.de/angebote/79ers/citrix-xendesktop-75
- ------------------------------------



- --
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



- -----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von marius amza
Gesendet: Mittwoch, 28. Mai 2014 01:21
An: typo3-english at lists.typo3.org
Betreff: [TYPO3-english] Can someone point me how to make translations to typo3 6.1, and create a dropdown menu for language

there seems like there's no tutorial anywhere on-line ... all tutorials are either ... for really old versions of typo3 or they use a unknown template, and there's no way I can reproduce the steps they do on the introduction package from typo3

I understand english and german

thank's
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.3.2 (Build 15238)
Charset: utf-8

wpUDBQFThae3pp0IwsibV8MBCH7YA/0TaUWRQu5yQOkIiPmmgBkN4HbwWuUGPqMn
OROTSrdnlvNPpKDZTnwMD0UiC4JEm44oEqAyCiHnbRIsn/fl3enGZMzKO/ZhfQzH
HfeDqwyPnLDAGOOZ5uiRATeZrZLu32wFUI1nHkO4I4XRnnJmI2PCunLDz1XgrlYo
vYN6w2Y6Ug==
=Czv2
-----END PGP SIGNATURE-----


More information about the TYPO3-english mailing list