## translationEngine()

gettext.jsxinc.
by Duduf and Guillaume Potier.

Version:
  - 1.0.0
Author:
  - Nicolas Dufresne and contributors
Copyright:
  - 2022 Nicolas Dufresne, RxLaboratory
License:
  - MIT

View Source DuAEF_Duik_api.jsxinc, line 3189

##### Example

    // Encapsulate everything to avoid global variables!
    (function()
    {
    		#include "../lib/gettext.js"

    		i18n = i18n();

    		i18n.setMessages('messages', 'en', {
    			'Test failed!': 'Test successfull!',
    		}, 'nplurals=2; plural=n>1;');

    		i18n.setLocale('en');

    		alert(i18n._('Test failed!'));
    })();