Results 1 to 3 of 3

Thread: Translations from XML files rather than baked into resx files?

  1. #1
    .NET Framework
    .NET 4.5
    Join Date
    Apr 2015
    Posts
    37
    Rep Power
    45

    Translations from XML files rather than baked into resx files?

    Just started getting into adding different languages for an app, just en-US and fr-CA so far but I'm already realizing that I really want the words/phrases in a text file so changes and corrections can be made without having to re-compile. Should I just dump the Globalization string handling and load the appropriate strings into a list a run time or is there a pre-built way to do this?

  2. #2
    .NET Framework
    .NET 4.5
    Join Date
    Apr 2011
    Posts
    1,930
    Rep Power
    149
    Are you saying that you want to be able to make changes in-place or just that you don't want to have to recompile the EXE? If it's the former then I think that assemblies are probably used to specifically avoid that, because in-place changes means more possibility of mistakes. If it's the latter then there's no need to change because each language/culture would have its own satellite assembly so you can easily just replace one DLL without touching the EXE.

  3. #3
    .NET Framework
    .NET 4.5
    Join Date
    Apr 2015
    Posts
    37
    Rep Power
    45
    I didn't realize each resx file was compiled into a separate dll, I thought they were rolled into the program binary. Well that solves that problem.

    Now I just have to figure out how to get inno installer to include them. Should be pretty simple.

    thanks!

Similar Threads

  1. Processing Large Xml Files
    By inkedGFX in forum XML
    Replies: 1
    Last Post: 08-28-2015, 12:58 PM
  2. Replies: 2
    Last Post: 11-27-2014, 3:05 AM
  3. Question Read the contents of '.SER' files in a folder and save it in xml
    By chetan_rajakumar in forum C# General Discussion
    Replies: 1
    Last Post: 10-28-2014, 6:50 AM
  4. Question XML files encoding
    By alexxutzu in forum XML
    Replies: 4
    Last Post: 04-23-2013, 6:59 AM
  5. contains 2 solution files
    By jassie in forum C# General Discussion
    Replies: 3
    Last Post: 11-18-2012, 1:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •