Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BOUNTY] Multi-language support / i18n of labels, descriptions and display-values #201

Open
sebastian-marinescu opened this issue Feb 22, 2023 · 5 comments

Comments

@sebastian-marinescu
Copy link
Contributor

Summary

Currently all my ClientConfig-settings have German labels.
As I'm probably getting international clients soon, I'd need to make it dynamic.

Step to reproduce

On the setting's label I tried using: [[%website.form.name]], %website.form.name and website.form.name.

Observed behavior

I see the string, and not a translated lexicon-value.

Expected behavior

A way for internationalization on the labels and descriptions fields.

Environment

MODX Revolution 2.8.4-pl, ClientConfig 2.3.3-pl

@sebastian-marinescu
Copy link
Contributor Author

As I wasn't to sure, that my lexicon would be loaded in the ClientConfig-CMP, I also tried:
[[%clientconfig.label]], %clientconfig.label and clientconfig.label - which also doesn't work.

It should be possible on settings and groups.

@sebastian-marinescu
Copy link
Contributor Author

@sebastian-marinescu sebastian-marinescu changed the title Multi-language support // i18n of labels and descriptions [BOUNTY] Multi-language support // i18n of labels and descriptions Feb 22, 2023
@Mark-H
Copy link
Member

Mark-H commented Feb 22, 2023

Should that follow the language of the context (in multi context mode) or of the user?

@sebastian-marinescu
Copy link
Contributor Author

I think it should follow the manager-language that the manager chooses.

There could be an international editorial staff, where one uses the CMS in EN, another one in DE, and another one in CZ.
Each one should feel comfortable using/editing stuff, hence it should be in the manager-user's language.

@sebastian-marinescu
Copy link
Contributor Author

I just noticed, that ideally this would also work for values - consider this:
Normal==normal||Kursiv==italic as options on a selectbox.

Would be beautiful, if I could do something like this:
%website.settings.fonts.normal==normal||%website.settings.fonts.italic==italic

@sebastian-marinescu sebastian-marinescu changed the title [BOUNTY] Multi-language support // i18n of labels and descriptions [BOUNTY] Multi-language support / i18n of labels, descriptions and display-values Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants