Skip to content

Multilingual registration auth code template is not translated #6616

@outline4

Description

@outline4

Description

Hi, I have a multilingual site.

I register users on the frontend.
I followed the docs: https://getkirby.com/docs/cookbook/forms/user-registration#frontend-login-with-code

It all works great. My default language is "de". I am trying to get everything translated to "fr" and "it".

Within the controller I set the language dynamically based on where the user registers:
'language' => kirby()->language()->code(),

The emails get send in the corresponding language.

There's one template I am not able to serve in the correct language.
It's immediately displayed after sending the registration form:
/panel/login

Bildschirmfoto 2024-08-14 um 15 07 10

It only displays in the main language (de).

In my opinion this template should be served in the email's associated panel language. Like the emails.

I've checked the users and all of them have the correct panel language set.
I hope somebody can help me on the topic.

The screen that follows is half in the main language, and half in the language of the panel user.
So maybe there's something a little of?

Bildschirmfoto 2024-08-14 um 16 00 35

Expected behavior
In my opinion this template should be served in the email's associated panel language.

This is the support forum Link
https://forum.getkirby.com/t/multilingual-registration-auth-code-template-is-not-translated/32252/1

This is what Sonja sais

I can reproduce that, even the weird mixed language interface. Seems to be a bug. Could you create an issue on GitHub, please?

Your setup

Kirby Version
4.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions