Reputation: 209
I need to localize all the strings and Enums in FormFlow for the German language. How can I use RView tool to generate resource files? I have read following but I couldn't understand how to use it. Can someone explain in simple steps
https://learn.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-formflow-localize
Upvotes: 2
Views: 232
Reputation: 14787
I think that it's pretty clear, but let's try to write some steps:
ContosoFlowers.Models
and the assembly ContosoFlowers.dll
(it's on the bin folder after you build the project).rview
tool as rview -g {AssemblyName} {Namespace}.{NameOfTheBuildFormMethod}.
Following the ContosoFlowers sample it will be rview -g ContosoFlowers.dll ContosoFlowers.Models.BuildOrderForm
resx
file to your solution. Note: The RView tool is included with the BotBuilder SDK nuget package. Once you add the NuGet to your project if you go to packages folder and then to the Microsoft.Bot.Builder folder, you will find a tools folder with the
RView.exe
file. Alternatively, you can get the source code of the tool at https://github.com/Microsoft/BotBuilder/tree/master/CSharp/Tools/RViewNote 2: If you make changes and want to recreate the resx file, do not forget to change the Neutral Language (back) to '(None)', or else the rview tool will give you an error message (Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Resources.MissingManifestResourceException: Missing resources System.Collections.Generic.List`1[System.String] ...)
Upvotes: 4