This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
That's best practice to simply use translate strings with object. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm new to TS+Vue+VueI18n and at work we're trying to start a new project with this technologies.
To play around we're getting the translations strings from an API and I need to transform them to match the messages property in createI18n. Coming from a C# background and being new in Typescript, I can't see how would I create an array of these messages to pass to that property.
Currently my translations strings are a
Map<string, Map<string, string>>
where the strings are the locale, the label key and the label value in that locale.Any help is appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions