Project

General

Profile

Actions

Feature #16886

closed

Localization of [FE][pageNotFound_handling] page

Added by Andreas Wagner almost 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2007-01-23
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

It would be really useful to be able to show a localized 404 page. As it is now, you can only show the website user one page no matter what language he or she is viewing the website in.

(issue imported from #M4836)

Actions #1

Updated by Michael Stucki almost 18 years ago

Well, there are always easy solutions, and there are complicated ones. The easiest solution in this case would be to write a little PHP condition in localconf.php before setting $TYPO3_CONF_VARS['FE']['pageNotFound_handling'].
Don't you think this is sufficient?

Actions #2

Updated by Andreas Wagner almost 18 years ago

Ah, of course that is the way to do it! I didn't think about that. Thanks.

Would it be an idea to, somewhere in the future, let the install tool handle conditions like that? Maybe something in the line of typoscript conditions (/404/[globalVar = GP:L = 1]/404/en/[global]). Or maybe that is a bit overkill....

Actions #3

Updated by Michael Stucki almost 18 years ago

It won't work, because if no page is found, TYPO3 wouldn't know which template to parse... (just imagine a multisite installation with more than one main templates inside...).

I think my proposed solution is the best way to go.

Actions

Also available in: Atom PDF