You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
string[] GetAvailableLanguages()
I'd love to get a list of available languages as a string array,
I'd use it to populate a language-selector dropdown.
AddTranslation(string key, string langCode, string? translation)
And if possible a way to add a translation for specific languages.
Example:
I have swedish and english. Let's say I wanna add a translation for the key: "COFFEE" with: AddTranslation("COFFEE","se", "Kaffe");
The english translation would just get the key (no empty strings.)
Perhaps a function that would add multple translations AddTranslations (string key, string[] languages, string[] translations)
example: AddTranslations("COFFEE", ["en","sv","fi","de"],["Coffee","Kaffe","Kahvi","Kaffee" ])
/Jonas
The text was updated successfully, but these errors were encountered:
Hello.
Great work!
string[] GetAvailableLanguages()
I'd love to get a list of available languages as a string array,
I'd use it to populate a language-selector dropdown.
AddTranslation(string key, string langCode, string? translation)
And if possible a way to add a translation for specific languages.
Example:
I have swedish and english. Let's say I wanna add a translation for the key: "COFFEE" with:
AddTranslation("COFFEE","se", "Kaffe");
The english translation would just get the key (no empty strings.)
Perhaps a function that would add multple translations
AddTranslations (string key, string[] languages, string[] translations)
example:
AddTranslations("COFFEE", ["en","sv","fi","de"],["Coffee","Kaffe","Kahvi","Kaffee" ])
/Jonas
The text was updated successfully, but these errors were encountered: