Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multilingual description from a .resx file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    multilingual description from a .resx file

    Hello,

    Is there an example file somewhere, or can someone tell me how to create a multilingual description from a .resx file and use it in an indicator, for example?

    I would like to create a .resx file in different languages or the property name and description and have it used automatically when loading the indicator, according to the PC language.

    Code:
     [Range(1, int.MaxValue), NinjaScriptProperty]
     [Display(ResourceType = typeof(Custom.Resource), Name = "Period", GroupName = "NinjaScriptParameters", Order = 0, Description = "")]
     public int Period
     {
         get; set;
     }
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    #2
    Hello sidlercom80,

    Thank you for your post.

    Unfortunately this would be beyond our scope of support, however I found this from a quick google search:

    I'll soon be working on a large c# project and would like to build in multi-language support from the start. I've had a play around and can get it working using a separate resource file for each la...


    I have around 3 languages resources(.RESX) file and I would like to use them in XAML as I use in CS file with no problem. My cs code is like this: Properties.Resources.ResourceManager.GetString(&qu...


    This read will remain open for any members of the community who may want to share any suggestions.

    Comment


      #3
      NinjaTrader_Gaby Unfortunately that doesn't help me, I was hoping for a more concrete example because I've already found that myself, thanks anyway.
      ​
      sidlercom80
      NinjaTrader Ecosystem Vendor - Sidi Trading

      Comment


        #4
        Hello,

        this is a very interesting topic!
        Has anyone ever managed to use own resource files in Ninjatrader indicators or other components?
        Either as resx or as dll file.

        It would be very helpful to get some hints for the implementation because I currently don't find a way to get it running.

        Thanks !!!
        Armin

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        91 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        137 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        121 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        72 views
        0 likes
        Last Post PaulMohn  
        Working...
        X