Allow some languages to show even if translations don't exist

Created on 23 August 2024, 7 months ago

Problem/Motivation

There are certain languages I want to always appear in the drop down even if translations don't exist.
This is because certain page elements such as the footer do have translations for these languages so they should always show.

Steps to reproduce

Enable the "Remove links if no translation is detected." option and see all links without translations are removed.

Proposed resolution

Add a config field to specify allowed empty languages.

Remaining tasks

Write patch.

User interface changes

Config form update with new field.

Data model changes

Update to schema to accommodate new value.

Feature request
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom dahousecat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @dahousecat
  • 🇬🇧United Kingdom dahousecat

    This patch adds a "Allowed empty languages" field to the config form that is only shown if "Remove links if no translation is detected" is ticket.
    It then doesn't remove any of the languages selected.

  • Status changed to Closed: works as designed 7 months ago
  • 🇨🇦Canada SKAUGHT

    overall, 'allowing empty' this is not a operation I want this model to have.

    second note, patch does not have need tests.

Production build 0.71.5 2024