We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should use https://lit.dev/docs/localization/overview/#message-ids for all the translations within our web components.
This will help CFAs in the following way:
${msg('Hello world')}
lit-localize extract
<language>.xlf
nl.xlf
"Hallo wereld"
If in step 1 you instead write ${msg('Hello world', { id: 'welcome' })}, your translation will still be there in step 5.
${msg('Hello world', { id: 'welcome' })}
This will make it a lot easier for CFAs to handle changes to the original text in the design system web components.
Jeroen
SLDS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Provide a general summary of the issue here
We should use https://lit.dev/docs/localization/overview/#message-ids for all the translations within our web components.
This will help CFAs in the following way:
${msg('Hello world')}
lit-localize extract
<language>.xlf
(for examplenl.xlf
) and add a translation"Hallo wereld"
If in step 1 you instead write
${msg('Hello world', { id: 'welcome' })}
, your translation will still be there in step 5.This will make it a lot easier for CFAs to handle changes to the original text in the design system web components.
👤 Your name
Jeroen
🧢 Your Product/Team
SLDS
The text was updated successfully, but these errors were encountered: