-
Notifications
You must be signed in to change notification settings - Fork 340
Supported Locale Formats
Format | Read | Write | Annotations | Note |
---|---|---|---|---|
JSON | β | β | β | |
YAML | β | β | β | Comments will NOT be preserved* |
JSON5 | β | β | β | Comments will NOT be preserved* |
INI | β | β | β | Comments will NOT be preserved* |
POT | β | β | β | |
JavaScript | β | β | β | Read-only |
TypeScript | β | β | β | Read-only |
PHP | β | β | β | Read-only |
* Due to the limitation of
yaml.dumps
(#196) andJSON5.stringify
(#177), comments in YAML and JSON5 will be OMITTED on any modification by this extension (editing, translating, etc). If you are using comments in your locale files, you can turn on read-only mode byi18n-ally.readonly
to prevent losing comments.
By default, formats support will be automatically enabled by the activated frameworks(e.g Larval will enable php
support).
To manually choose enabled formats:
// other formats will be disabled regardless the framework preference.
"i18n-ally.enabledParsers": ["js", "ts", "pot"]
π‘ From v2.0, formats other than
JSON
,YAML
andJSON5
would be disabled by default.
Lokalise is the fastest growing language cloud technology made by developers, for developers.
As a collaborative productivity platform, it helps structure and automate the translation and localization process for any company in the world.
Learn more
πβπ¨ Review & Collaborate
πͺ¨ Hard-coded Strings Extraction
βοΈ Configurations
π Migration