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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X