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

i18n problem on viewFields labels #8

Open
axel-simpliciti opened this issue Feb 14, 2024 · 1 comment
Open

i18n problem on viewFields labels #8

axel-simpliciti opened this issue Feb 14, 2024 · 1 comment

Comments

@axel-simpliciti
Copy link

We're running into problems when we want to make our viewFields column labels translatable. It is not possible to use i18n tags when defining them.

@Pierstoval
Copy link
Member

The label is already translated by default: https://github.com/Orbitale/SvelteAdmin/blob/main/src/lib/themes/carbon/ViewFieldsComponents/ViewLabel.svelte

You should be able to add your translations to your dictionaries, and they will be appended to SvelteAdmin's dictionaries.

Do you have a reproducible example for which translation does not work?

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