First mod: subdirectory for lang files

Dec 22, 2010 at 1:38 PM

If you are interested:

This is my first modification, because I wat the lang files to reside in a subdirectory:

 public static void Read(Translation translation)
if (Directory.Exists(Path.Combine(Application.StartupPath, "lang")))
Read(Path.Combine(Application.StartupPath, "lang"), translation);

Read(Application.StartupPath, translation);

Sure, it would be better if it could be configured in the app.config file. Maybe in the next step.


Regards, Tom

Dec 22, 2010 at 5:12 PM


It will be in the new version of NLocalizer :)

Sep 2, 2011 at 4:23 PM

NLocalizer 1.7+ autodetect program subdirectory with .lang files.