Skip to content

Draft: Add pseudo English locale in test and development

Peter Leitzen requested to merge pl-pseudo-english-locale into master

WIP

What does this MR do and why?

Add a new locale "Pseudo English".

Generate this locale on-the-fly (during boot for both Gettext (locale/) and I18n (config/locale)) and use it as default in test to spot all ill-placed or missing translations. Mark all failing spec examples/contextes as TODO in spec/support/locale_todo.yml`` to fallback to default locale :en`.

This pseudo locale can be selected in development mode.

Take on #19484 (comment 220805837).

Inspired by !17757 (closed) and !17520 (closed).

Screenshots or screen recordings

Select Main page Merge Requests
Screenshot_from_2023-02-28_17-20-36 Screenshot_from_2023-02-28_17-19-03 Screenshot_from_2023-02-28_17-17-32

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports

Loading