Changelog
@eloqnt/engine
Historic reference of all changes to @eloqnt/engine.
0.4.5
- Improve review prompt to avoid a contradiction related to brand names.
0.4.3
- Improve accuracy of handling plurals.
- Switch the hosted model to
gpt-5.6-luna.
0.4.2
- A translation no longer has to spell out every plural category its locale can select on (ref). The rule is replaced by two, since its halves answer to different authorities:
unreachable-plural-casefor a case the target locale never selects, andinconsistent-exact-pluralsfor=0-style cases that don't match the source. - Translations now pick the plural categories a string needs rather than every category the locale allows, guided by the numbers each one selects. No two cases may repeat the same wording, and trailing punctuation has to match the source in both directions.
0.4.0
eloqnt translatenow reads CLDR data sopluralandselectordinalstatements are guaranteed to be adjusted for target locales.
0.3.2
- Improve prompt caching.
0.3.0
- Added
eloqnt review source: Reviews source strings for typos and grammatical errors and fixes them in place.
0.2.2
- Broaden the translate prompt to preserve non-ICU placeholder styles (e.g.
{{name}},%d,${name}) and to handle suffix-encoded plurals like_one/_other
0.2.0
- Upgrade to AI SDK 7.
0.1.1
- Stop adding units, currency, or
%next to placeholders whose substituted value already carries the symbol.
0.1.0
- Major prompt revision based on new eval suite and switch the engine model to
openai/gpt-5.4-mini.
0.0.1
- Consume meaningful message ids as translation context. When a message id is a readable key (e.g.
settings.table.sortOrder), the engine prompt now uses it to disambiguate the source; opaque hashes are ignored.