iOS中的本地化工作流BartyCrouch和Microsoft Translator API
我有一个非常具体的问题,想知道是否有人尝试过使用BartyCrouch脚本和API.Cognitive.MicrosoftTranslanter在Swift中尝试过工作流?我有一个混合的项目:故事板 + Swiftui,我需要获得多种语言。我想我只是在第一步感到困惑。我有一个与BartyCrouch一起工作的小型测试项目,是否只是从Azure翻译的开箱即用? 欢迎网络上的任何代码示例。
有一些关于将Google翻译为两年前的框架的功能的讨论。不知道我们现在在哪里。 https://github.com/flinedev/flinedev/bartyev/bartycrouch/issues/160
I have a very specific question, was wondering has anyone tried workflow with BartyCrouch script and api.cognitive.microsofttranslator in Swift? I have a mixed project : Storyboards + SwiftUI that i needs to get multiple languages. I guess I am just confused on the first steps. I have a small test project working with BartyCrouch is it just out of the box translating from Azure?
Any code examples on the web are welcome.
There was some talk of adding Google translate as a feature to the framework, from 2 years ago. Not sure where we are now.
https://github.com/FlineDev/BartyCrouch/issues/160
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,一切都以正确的方式设置了Bartycrouch和Azure后一切工作。如果有人在寻找,这些步骤就在这里。
配置您在安装BC时生成的.toml文件(我从Homebrew中使用)。在这里有一个通往我的localizable.strings文件[./ your-app“]的途径。我必须将
trans
添加到.toml文件中的任务plot bartycrouch 脚本中的任务中,并运行构建
“”“
空字符串”中的所有翻译中向您发送快乐的本地化。
So everything worked after setting up the BartyCrouch and Azure in a right way. The steps are here if anyone is looking for.
Configure the .toml file that you generated when installing BC (I did from Homebrew). Had issue here with a paths to my Localizable.strings file ["./your-app"]. I had to add
translate
to the tasks in .toml filePlace BartyCrouch script into BuildPhases and run build
""
empty stringHappy localization to you..