handlebars-intl
Version:
Handlebars helpers for internationalization.
23 lines (16 loc) • 557 B
JavaScript
/*
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License.
See the accompanying LICENSE file for terms.
*/
/* jshint esnext: true */
import IntlMessageFormat from 'intl-messageformat';
import IntlRelativeFormat from 'intl-relativeformat';
import {registerWith} from './helpers.js';
import defaultLocale from './en.js';
export {registerWith};
export function __addLocaleData(data) {
IntlMessageFormat.__addLocaleData(data);
IntlRelativeFormat.__addLocaleData(data);
}
__addLocaleData(defaultLocale);