botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[.NET SDK] FormFlow "hidden" messages localization

Open asfyra opened this issue 8 years ago • 4 comments

Bot Info

  • SDK Version: 3.14.1.1
  • Active Channels: Emulator
  • Deployment Environment: local development with Emulator

I want to ask how would i be able to localize the help, status and generaly all the messages that formflow generates. I am interested in localizing all the "hidden" form flow messages, that are not exposed through RView to the generated resx file.

I would also like to ask if it's possible to localize formfolw command keywords such as help, back, quit etc.

Thanks in advance Alex

asfyra avatar Apr 03 '18 11:04 asfyra

You can go through Localization document and let us know if there is something missing or need to be documented. And to answer your second question, can you please explain what you mean by "hidden" form? And to answer you third question, the keywords have already been localized as described here and you need do it again.

fanidamj-zz avatar Apr 04 '18 23:04 fanidamj-zz

Resources.de.zip Ah, but thanks for asking the question. I translated the Resource.nl.resx file to German (in the attachment). After reading that submitting it requires signing a contributer agreement and other technical stuff I decided that I'm too lazy to read into the details of that process :)

fr6087 avatar Apr 05 '18 08:04 fr6087

Thank you both for your replies. I am aware of the document you mentioned @fanidamj, although there is a point about MAT, that is not very clear. Why do i need MAT? Shouldn't i just create the relevant resource files my self. If RView generates the native one, why don't i create the other culture resource files myself? Here is the point i don't get. As for my other questions you and @fr6087 gave me the answer i was looking for. In order to use my own resource file for help and the other keywords, i have to create a Resource.el-GR.resx for the greek language. That means that i have to use BotBuilder project from source (github), or is there a way to use my resource file with BotBuilder downloaded from nuget ?

Thanks is advance Alex

asfyra avatar Apr 05 '18 08:04 asfyra

After further researh, i think the only solution to translate the built-in form flow messages, is to follow the instructions from this post, for the Greek language.

asfyra avatar Apr 12 '18 07:04 asfyra