Skip to content
New issue

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

[Feature] 增加local配置 #45

Open
treenwang opened this issue Aug 18, 2020 · 1 comment
Open

[Feature] 增加local配置 #45

treenwang opened this issue Aug 18, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@treenwang
Copy link

描述一下你期望的新特性
类似 https://github.com/marak/Faker.js/, 可以设置locale.

@treenwang treenwang added the enhancement New feature or request label Aug 18, 2020
@wll8
Copy link
Contributor

wll8 commented Jan 20, 2021

@treenwang 例如你使用 ctitle 时, 再设置 locale 为 en 这种情况下, 所谓的 local 配置是没有意义的. 建议自行封装一下, 也很简单, 按目前情况来看, 其他是 zh 模式下给占位符号添加 c 前缀.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants