Skip to content

feat: support translation adapter for custom message formatting#29

Merged
kazupon merged 6 commits intomainfrom
feat/i18n-custom-formatter
Mar 17, 2025
Merged

feat: support translation adapter for custom message formatting#29
kazupon merged 6 commits intomainfrom
feat/i18n-custom-formatter

Conversation

@kazupon
Copy link
Owner

@kazupon kazupon commented Mar 16, 2025

Description

This PR introduces a mechanism to support various message formats such as intlify message format and Intl.MessageFormat (MF2).

This makes it possible to reduce the package size and make maintenance easier, as gunshi does not need to add its own message formatter or message format library as a dependency.
Complex message formatters are left to the users of gunshi.

Linked Issues

Additional context

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 16, 2025

Open in StackBlitz

npm i https://pkg.pr.new/gunshi@29

commit: 68bc67e

@kazupon kazupon merged commit 74cc3ee into main Mar 17, 2025
8 checks passed
@kazupon kazupon deleted the feat/i18n-custom-formatter branch March 17, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Includes new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant