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: multiple i18n directories setup #292

Closed
Tracked by #197
HsiangNianian opened this issue Nov 9, 2024 · 1 comment · Fixed by #291
Closed
Tracked by #197

Feature: multiple i18n directories setup #292

HsiangNianian opened this issue Nov 9, 2024 · 1 comment · Fixed by #291
Assignees
Labels
enhancement New feature or request todo trans 添加后会帮助你翻译issue(中英)
Milestone

Comments

@HsiangNianian
Copy link
Member

HsiangNianian commented Nov 9, 2024

This issue aims to propose and improve the i18n processing mechanism of iamai, and will supporting the following points:

    • Ability to create i18n support files in local directories.
    • Ability to customize the path of i18n support files in configuration files.
[bot]
locale_dir = ["locale"]
    • Use the command line generate the latest .po file for your translation about iamai(latest).
    • The path priority of custom files will be higher than that of built-in i18n support files. At the same time, if there is a duplicate name, the custom i18n support file will be used first, but the built-in i18n support will not be completely abandoned.
    • Ability to automatically read the language environment options in the environment variables.
@HsiangNianian HsiangNianian added the enhancement New feature or request label Nov 9, 2024
@HsiangNianian HsiangNianian added this to the 0.1.7 milestone Nov 9, 2024
@HsiangNianian HsiangNianian self-assigned this Nov 9, 2024
@HsiangNianian

This comment was marked as duplicate.

@HsiangNianian HsiangNianian linked a pull request Nov 9, 2024 that will close this issue
@HsiangNianian HsiangNianian added todo trans 添加后会帮助你翻译issue(中英) labels Nov 9, 2024
@HsiangNianian HsiangNianian mentioned this issue Nov 10, 2024
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo trans 添加后会帮助你翻译issue(中英)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant