balderdashy / balderdashy/sails

support for ICU Format in i18n

Open
#7,299 2 comments 0 reactions 0 assignees View on GitHub
try this out please
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Node version**: v18
**Sails version** _(sails)_: 1.4.0
**ORM hook version** _(sails-hook-orm)_:
**Sockets hook version** _(sails-hook-sockets)_:
**Organics hook version** _(sails-hook-organics)_:
**Grunt hook version** _(sails-hook-grunt)_:
**Uploads hook version** _(sails-hook-uploads)_:
**DB adapter & version** _(e.g. sails-mysql@5.55.5)_:
**Skipper adapter & version** _(e.g. skipper-s3@5.55.5)_:


sails uses i18n-2 which seems have no support for [ICU Message Formatting](https://lokalise.com/blog/complete-guide-to-icu-message-format/)
and we have a strict requirement to use translation file(json files) in ICU Format only.
but i could not find any doc to add support for ICU message format in Sails

Contributor guide

Open the contributing guide

Research direction

The issue names Sails' i18n integration and its i18n-2 dependency but no files or tests. Start by tracing how Sails loads translation JSON and how i18n-2 formats messages, then define the required ICU behavior and documentation or tests that would demonstrate support.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
internationalization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.