mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Initial i18n experiment
This commit is contained in:
parent
32a9528e6d
commit
245c538990
12 changed files with 103 additions and 38 deletions
19
gui/app/initializers/i18n.js
Normal file
19
gui/app/initializers/i18n.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Copyright 2022 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// https://www.documize.com
|
||||
|
||||
export function initialize(application) {
|
||||
application.inject('route', 'i18n', 'service:i18n');
|
||||
application.inject('controller', 'i18n', 'service:i18n');
|
||||
application.inject('component', 'i18n', 'service:i18n');
|
||||
application.inject('model', 'i18n', 'service:i18n');
|
||||
}
|
||||
|
||||
export default {
|
||||
name: 'i18n',
|
||||
after: "application",
|
||||
initialize: initialize
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue