Best way to make resources for umbraco admin package?
Hi,
Im making an package that will have a custom section in the umbraco backend and have some usercontrols, but what is the best way to localize the different text values that is needed? I could hardcode them but dont want to do that :)
Should i insert entries in the umbraco resource xml files, create my own resource files ( and if so how to name the danish resource file to get that loaded if the user logged in has danish as language? ), or any other better method?
If you're putting it in the Umbraco backoffice then I'd use the Umbraco language API, this way the language will be consistent between all the backoffice applications.
If you're building something for public users I'd go with .NET localization, that way you can get the localization based on the users locale rather than anything else.
Best way to make resources for umbraco admin package?
Hi,
Im making an package that will have a custom section in the umbraco backend and have some usercontrols, but what is the best way to localize the different text values that is needed? I could hardcode them but dont want to do that :)
Should i insert entries in the umbraco resource xml files, create my own resource files ( and if so how to name the danish resource file to get that loaded if the user logged in has danish as language? ), or any other better method?
If you're putting it in the Umbraco backoffice then I'd use the Umbraco language API, this way the language will be consistent between all the backoffice applications.
If you're building something for public users I'd go with .NET localization, that way you can get the localization based on the users locale rather than anything else.
is working on a reply...