Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Burla 2560 posts 8256 karma points
    Oct 27, 2010 @ 12:10
    Anders Burla
    0

    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?

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Oct 27, 2010 @ 12:20
    Aaron Powell
    1

    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.

Please Sign in or register to post replies

Write your reply to:

Draft