feat: add internationalization message platform
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import { formatMessage } from "../../../src/presentation/i18n/index.js";
|
||||
|
||||
formatMessage("ko-KR", "unknown.translation.key");
|
||||
@@ -0,0 +1,5 @@
|
||||
import { formatMessage } from "../../../src/presentation/i18n/index.js";
|
||||
|
||||
formatMessage("en-US", "route.documentTitle");
|
||||
formatMessage("en-US", "route.documentTitle", { title: "Missing app name" });
|
||||
formatMessage("en-US", "action.retry", { unexpected: "value" });
|
||||
Reference in New Issue
Block a user