@inlang/plugin-message-format
3.0.3
Patch Changes
- fix: re-add
loadMessages
andsaveMessages
again for backwards compatibility
3.0.2
Patch Changes
- add
displayName
anddescription
for backwards compatibility
3.0.1
Patch Changes
- added old
loadMessages
andsaveMessages
functions for backwards compatibility
3.0.0
Major Changes
- upgrade to @inlang/sdk v2 beta
2.2.0
Minor Changes
- 732430d: Error on messages file json parse failures
2.1.1
Patch Changes
- 4837297: File locking for concurrent message updates through the load/store plugin api Auto-generated human-IDs and aliases - only with experimental: { aliases: true }
2.1.0
Minor Changes
- 0c272619a: types loosened to allow for new/unknown properties
2.0.0
Major Changes
-
ca96a2461: The message format is now human readable and can be edited manually. The plugin will automatically convert the message format to the internal format.
- Add a filePathPattern property to the inlang project
"plugin.inlang.messageFormat": { "filePath": "./src/messages.json", + "pathPattern": "./messages/{languageTag}.json" }
- Run
npx paraglide-js compile
The compile command will automatically convert existing messages from the
messages.json
file to the new format.- Delete the
messages.json
andfilePath
property in the inlang project
"plugin.inlang.messageFormat": { - "filePath": "./src/messages.json", "pathPattern": "./messages/{languageTag}.json" }
1.4.0
Minor Changes
- c4afa50ca: fix: don't rely on { recursive: true } as the implemention differs per environment
1.3.0
Minor Changes
- 3016bfab8: improve: use new
settingsSchema
property for plugins to provide a shorter feedback loop when the settings are invalid. - 1d0d7fa05: fix: https://github.com/opral/monorepo/issues/1530
1.2.0
Minor Changes
- 091db828e: fix: don't rely on { recursive: true } as the implemention differs per environment
1.1.0
Minor Changes
-
79c809c8f: improve: the plugin is able to create directories if a the storage file does not exist yet.
If a user initializes a new project that uses
./.inlang/plugin.inlang.messageFormat/messages.json
as path but the path does not exist yet, the plugin will now create all directories that are non-existend of the path yet and themessages.json
file itself. This improvement makes getting started with the plugin easier.