Translatable html error page

Created on 6 November 2014, about 10 years ago
Updated 22 June 2024, 6 months ago

I've added the possibility to translate the html error page, replacing a token with the current language prefix.
It only work for websites using the language prefix.
Feel free to improve this with a query to get the domains, and handle the language by domain.

How it works ?

$conf['fast_404_HTML_error_page'] = './404/index_##LANG##.html';

The ##LANG## token will be replaced by the current language prefix.

You can have index_.html, index_en.html, index_it.html, etc.

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇫🇷France cutesquirrel

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024