Jump to content

Translations from within plugin


rechigo
Go to solution Solved by Luke,

Recommended Posts

rechigo

In the more recent sdks, you have an interface called IHasTranslations that allows you to implement your own translations

 

With the web app you can implement these with ${TranslationKey} in an element or with globalize.translate("TranslationKey") in javascript

 

Am I able to access these on the plugin-side? I tried using LocalizationManager.GetLocalizedString("TranslationKey"), but it doesn't return the TranslationKey value, it only returns TranslationKey

Is there some other step I need to do to get these translations onto the plugin side or is there no way to do this 

 

@@Luke

Link to comment
Share on other sites

  • Solution

If you're asking can you access the web app translations on the server, no. If you want to access  your own translations you'll have to write your own code for that.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...