/iBlue.ResxHelper/readme.txt

http://github.com/fahadsuhaib/FSharpTools · Plain Text · 22 lines · 16 code · 6 blank · 0 comment · 0 complexity · 89f609c1e66da21519cd303528253f16 MD5 · raw file

  1. Use RESX Generator to translate from one language to another.
  2. Create a TXT resource file (either by converting RESX to txt using resgen or directly creating it)
  3. eg: resgen ResourceLibrary.resx german.txt
  4. http://msdn.microsoft.com/en-us/library/ccec7sz1(v=vs.80).aspx
  5. USING FSI
  6. ---------
  7. 1) Run the ResxGenerator.fsx using fsi or right click and run.
  8. 2) Enter the inputs as asked by the tool.
  9. 3) This will create a new file appended with "to language" text.
  10. 4) Convert the text file back to resx with the same extension.
  11. Note: It uses BING translator, so be sure to have the internet connected.
  12. USING EXE
  13. ---------
  14. 1) Run the Resx helper as,
  15. resxhelper.exe /f:C:\somelocation\someresx.txt /from:en /to:de /o:output.de.txt
  16. 2) Once when the translation is done, convert the output file back to RESX using resgen