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

L10n mismatch between autoyast converter and json schema #1897

Open
jreidinger opened this issue Jan 15, 2025 · 2 comments
Open

L10n mismatch between autoyast converter and json schema #1897

jreidinger opened this issue Jan 15, 2025 · 2 comments

Comments

@jreidinger
Copy link
Contributor

Autoyast converter produces for localization key "l10n" - https://github.com/agama-project/agama/blob/master/service/lib/agama/autoyast/l10n_reader.rb#L45
But agama profile wants localization https://github.com/agama-project/agama/blob/master/rust/agama-lib/share/profile.schema.json#L441

Thanks to Tony Jones for reporting it.

@jreidinger
Copy link
Contributor Author

btw it would be nice to add to CI also test that runs on full autoyast profile and tries validate output

@imobachgs
Copy link
Contributor

While looking at this problem (rather easy to fix), I found out that:

  1. In the profile, you can only specify a single locale (see LocalizationSettings).
  2. In the UI, you can only select a single locale.
  3. At HTTP level, you can select several locales (see LocaleConfig). And it is supported at D-Bus level too.

So perhaps it is time to unify them.

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