支持各种翻译格式的插件
插件用于导入和导出翻译文件。选择与你的文件格式对应的插件;如果还没有支持该格式的插件,也可以自行编写。
要使用插件,请将其模块 URL 添加到 modules ,并将其配置添加到 project.inlang/settings.json. 然后运行 npx @inlang/cli check --project ./project.inlang.
Android Resources
Read and write Android strings.xml resources with variables and CLDR plurals.
- 格式
- Android strings.xml
- 键
- plugin.inlang.android
- 路径
- ./res/values{locale}/strings.xml
Apple String Catalog
Read and write Apple .xcstrings catalogs with variables, plurals, and device variations.
- 格式
- Apple .xcstrings
- 键
- plugin.inlang.apple-xcstrings
- 路径
- ./Localizations/Localizable.xcstrings
Apple Strings
Read and write Apple .strings localization files with positional variables.
- 格式
- Apple .strings
- 键
- plugin.inlang.apple-strings
- 路径
- ./Localizations/{locale}.lproj/Localizable.strings
Flutter ARB
Losslessly import and export Flutter ARB translations with inlang, preserving resource attributes, placeholder metadata, and file formatting.
i18next
A plugin for inlang projects that works with i18next and reads + writes resources.
- 格式
- i18next JSON
- 键
- plugin.inlang.i18next
- 路径
- ./resources/{locale}.json
ICU MessageFormat v1
Storage plugin for inlang that reads and writes ICU MessageFormat v1 JSON files with support for selects, plurals, selectordinal, offsets, and formatter styles.
- 格式
- ICU MessageFormat v1 JSON
- 键
- plugin.inlang.icu-messageformat-1
- 路径
- ./messages/{locale}.json
inlang message format
Store translations in JSON files with support for variables, pluralization, and variants. The recommended storage plugin for inlang projects.
- 格式
- inlang message format JSON
- 键
- plugin.inlang.messageFormat
- 路径
- ./messages/{locale}.json

next-intl plugin
A plugin for inlang projects that reads and writes next-intl translation files.
- 格式
- next-intl JSON
- 键
- plugin.inlang.nextIntl
- 路径
- ./messages/{locale}.json
Xcode String Catalogs
An inlang plugin to handle Xcode String Catalogs
开发自己的插件
创建并发布你的插件
Sherlock 代码匹配器
这些插件帮助 Sherlock VS Code 扩展查找代码中的消息,不会读取翻译文件。

