1
Vote

Cannot translate to Russian

description

Hello!

I have created a Russian grammar file (attached). However the generate.ps1 script shows the following error when processing this file:

ru-RU.txt
  • Generating obj\StoryQ.flit.ru-RU code from ru-RU
    error : Running transformation: System.NullReferenceException: Object reference not set to an instance of an object.
    in Microsoft.VisualStudio.TextTemplating673cb8208b3b4c71b29c04fb73c92521.GeneratedTextTransformation.TransformText() in
    c:\Users\Никита\AppData\Local\Temp\obj\StoryQ.flit.tt:line 219
    in Microsoft.VisualStudio.TextTemplating.TransformationRunner.RunTransformation(TemplateProcessingSession session, Str
    ing source, ITextTemplatingEngineHost host, String& result)
It seems that the TextTransform.exe does not like Cyrillics. I also doubt that translation to other languages that are not based on English alphabet is possible.

I've managed to create the StoryQ.flit.ru-RU.g.cs that works for me manually (using the StoryQ.flit.en-US.g.cs file as a source).

file attachments

comments

ni28 wrote Feb 25, 2013 at 8:49 AM

Here is the manually created StoryQ.flit.ru-RU.g.cs.