i18n
Reactive icon

I18n

Stable version 1.1.8 (Compatible with OutSystems 11)
Uploaded
 on 8 Aug
 by 
0.0
 (0 ratings)
i18n

I18n

Compatible with:
Created on OutSystems 11

Version 1.1.8

Stable
Current
See documentation
Uploaded on 8 Aug by 
Compatible with:
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.528 to 11.0.615
Database:
All
Release notes:
  • Pub/sub-driven re-render replaces the revision / client-variable pattern
  • Seamless deferred flush
  • Self-tracked DOM observer
Application Objects:
I18n has 0 AOs.

Version 1.1.7

Stable
Uploaded on 3 Aug by 
Compatible with:
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.606 to 11.0.615
Database:
All
Release notes:

adds lang-attribute observation to observeDOM() so all [data-trans] nodes re-translate automatically on locale switch

Application Objects:
I18n has 0 AOs.

Version 1.1.6

Stable
Uploaded on 2 Aug by 
Compatible with:
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.606 to 11.0.615
Database:
All
Release notes:

[fix] Ready gate (_initPromise / _initResolve) moved inside define()

      — was declared in outer scope, causing disconnection on cache

        hit (disk cache served module without re-executing outer scope)

      — now always bound to the correct module instance


[fix] _assertReady() replaced with _waitReady() (promise-based)

      — load() and translateValidationMessages() no longer throw on

        cache hit — requests are queued and resolved after init()


[fix] _assertReady() removed from init()

      — basePath validated directly to avoid premature throw before

        _i18n is fully assigned


[fix] t() guards _isInitialized in addition to _i18n null check

      — returns defaultValue safely when called before init resolves


[fix] setLocale() queues locale on _initPromise when called early

      — no longer silently ignored if called before init()

Application Objects:
I18n has 0 AOs.