DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Translation unavailable

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2005-08-14T14:26:51
Author:Chi Hoang
Email:chibo@gmx.de
Info 3:
Info 4:

EXT: Translation unavailable

Extension Key: ch_notranslation

Copyright 2005, Chi Hoang, <chibo@gmx.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: Translation unavailable 1

Introduction 1

What does it do? 1

Requirements 1

Credits 1

Configuration 1

Reference 1

Known problems 2

Introduction

What does it do?

This extension lets you define an alternative error message for the T3 system message “Page is not available in the requested language”. In fact the extension jumps to another page if the requested language of the target page is unavailable. The language parameter will be loop through, so you must define an alternative error message in this language, otherwise you will get the “Page is not available in the requested language” message again.

Requirements

Typo3 3.7.0. This extension could be installed on Typo3 3.8.0 with the loss of the frontend feature “hidePagesIfNotTranslatedByDefault” in the install tool. Instead you must click “ Hide page if no translation for current page exists” on every pages like in T3 3.7.0.

Credits

To my mum.

Configuration

These are the steps to configuring the extension:

Install the extension from TER

Click “Hide page if no translation for current page exists” in the page header of your content page.

Create a new page with a text of the alternative error message in the right language (i.e translation).

Add to your global configuration the pid of this page, for example config.sys_language_error_pid = 140.(see also http://typo3.org/documentation/document- library/doc_core_tsref/quot_CONFIG_quot/ for details about usage of the global configuration, note that the sys_language_error_pid is a new property added by this extension)

Reference

config.sys_language_error_pid

Property

config.sys_language_error_pid

Data type

string

Description

Target pid

Default

140

Known problems

This extension extends the tslib_fe class through the XCLASS method. There exist a problem when installing other extensions extending the same class.

img-1 EXT: Translation unavailable - 2