We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在提出来是不是有点晚了.webp
大概想法如下:
<i18n:i18nkey|k1=v1,k2=v2}>
主要用于解决进行模块i18n时必须要导入MessageSession参数,导致可移植性降低的问题
此类模板字符串应在最后发送时才进行语言转换,使用特定工具函数提取参数
若存在需要根据语言而变化的参数,则value应传入所有可能的语言以便转换
The text was updated successfully, but these errors were encountered:
可以用Kecode(直球)
Sorry, something went wrong.
c86049e
fix #1509 by kecode
ef22be5
实际环境中发现使用Kecode会将其作为消息链的一部分,从而导致不必要的换行。 需要一个单独格式的行内i18n语句占位符。
No branches or pull requests
现在提出来是不是有点晚了.webp
大概想法如下:
<i18n:i18nkey|k1=v1,k2=v2}>
主要用于解决进行模块i18n时必须要导入MessageSession参数,导致可移植性降低的问题
此类模板字符串应在最后发送时才进行语言转换,使用特定工具函数提取参数
若存在需要根据语言而变化的参数,则value应传入所有可能的语言以便转换
The text was updated successfully, but these errors were encountered: