Translations not working properly

Created on 28 August 2021, over 3 years ago
Updated 7 May 2024, 8 months ago

Problem/Motivation

Translated Legal text is not displayed at /lang_code/legal_accept

I have 2 languages and 2 versions of the legal text. Finnish and English.
If I make changes to Finnish version, and force "Ask to accept T&Cs on every login"
It will always show the English version even the URL has /fi/ language code and the user has language setting in Finnish.

What is working on the other hand, is the legal translation versions in the user register page.
"How terms & conditions should be displayed to users on the registration form" is CSS box.

So to me it looks like translations are working halfly, or am I doing something wrong?

Steps to reproduce

1. Create 2 language versions of the legal text
2. set the sites language detection to
"Language from the URL (Path prefix or domain" before the: "Follow the user's language preference."

3. create a new user, accept the legal (works fine)
4. update the legal text and log out with the user
5. even if the user has certain language, and the same language in the URL, the other language version will be displayed

Also when using OpenID connect, for example login with Facebook, the legal will be always in English
even the sit URL and the user language setting is set to FI

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Documentation

Created by

🇫🇮Finland jukka792

Live updates comments and jobs are added and updated live.
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