Internationalization in Typo3


1 min read

This is my first blog and I am also learning Typo3.
I would like to explain how to add Internationalization support in Typo3.
The basic steps involve:

  1. Add Language extension and Create page
  2. Add some Typo3 script to integrate it
  3. Add language Flags in Front-end

Step1.1: Add Language & create pages

Adding languages:
Select the list module and choose “new typo3 Dev site”. Details view (right side block) will show all entity belongs to the website.
Click “new” button on the top left show in the image.
Select web languages from the list.
Fill the information in following field.
a. Languages
b. ISO Code
c. Select flag Icon

Now we can add menu languages.
Step1.2 Creating Alternate language pages

Select the page that you want to add alternate page language. In Top right you fill find the dropdown. Select the language option. Dropdown will appear with list of languages that you created.
You can create the alternat language pages.

Step 2 : Typo Script:

[source language=”php”]
config.sys_language_uid = 0
config.language = en
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = fr
Place this typoscript in Template.
To view the pages in the browser.
L flag will switch the languages.
Eg: http://–localhost-/index.php?id=23 will show normal English content.
Eg: http://–localhost-/index.php?id=23&L=1 will show the content in Russian

Step 3: Add Language Flags in Front end

Download sr_language_menu and static_info_tables extension from typo3 repository ( ) and install them via extension manager.
Create a sample pages and add sr_language_menu plugin to that page. Remember the id of that plugin.
Plugin will display the list of language available to the website.
See the below script:
[source language=”php”]
lib.lang = RECORDS
lib.lang.tables =tt_content
lib.lang.source = 9

Means we have to assign to content globally to the template, because script will read this content from the table (tt_content) in the database. Now assign the record into marker will show the language flag.
[source language=”php”]
lang < lib.lang.source [/source]

Hope you liked my first blog. Please let me know your comments.

Related posts:

2 Replies to “Internationalization in Typo3”

  1. An excellent description of the process in setting up a multilangual web! I do not follow step 3. Add Language Flags in Front end, would you please elaborate further?

Leave a Reply

Your email address will not be published. Required fields are marked *