用于检测不利于本地化的英文字符串的 SQL 查询
我希望构建一个 SQL 查询来检测不利于本地化的字符串,例如用于连接的字符串、包含不良占位符或类似内容的字符串。
示例:
Go to
- 尾随空格Subscribe to
- 到某物,它应该是占位符。- 任何不以大写或数字
- 开头的内容...(请随意提出想法)
我完全意识到没有完美的解决方案,获得误报是绝对正常的强>。
尽管如此,在将这些字符串发送到翻译之前,编译应该进行调查的字符串列表还是非常有用的。
I am looking to build an SQL query that would detect strings that bad for localization, like strings that are used with concatenation, that contains bad placeholders or things like this.
Example:
Go to
- has a trailing spaceSubscribe to
- to something, it should be a placeholder.- anything not starting with an uppercase or number
- other... (feel free to come with ideas)
I am fully aware that there is no perfect solution and it's absolutely normal to get false positives.
Still, it is very useful to be compile a list of strings that should be investigated before sending these to translation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经具备了这样做的一些条件,如下:
I already have some conditions for doing this, here are: