Skip to content

Commit

Permalink
i18n: i18next fix naming
Browse files Browse the repository at this point in the history
i18n: integrate german file
  • Loading branch information
mojib authored and mb-wali committed Jun 24, 2022
1 parent 81a4b4c commit b842adf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file is part of React-Invenio-Deposit
// Copyright (C) 2021 Graz University of Technology.
// Copyright (C) 2021-2022 Graz University of Technology.
//
// Invenio-app-rdm is free software; you can redistribute it and/or modify it
// Invenio-communities is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.

// list of func used to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file is part of React-Invenio-Deposit
// Copyright (C) 2021 Graz University of Technology.
// Copyright (C) 2021-2022 Graz University of Technology.
//
// Invenio-app-rdm is free software; you can redistribute it and/or modify it
// Invenio-communities is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.

import i18n from "i18next";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import TRANSLATE_EN from "./en/translations.json";
import TRANSLATE_ES from "./es/translations.json";
import TRANSLATE_DE from "./de/translations.json";

export const translations = {
es: { translation: TRANSLATE_ES },
en: { translation: TRANSLATE_EN },
de: { translation: TRANSLATE_DE },
};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "invenio-app-rdm-ui",
"name": "invenio-communities-ui",
"config": {
"languages": [
"en",
Expand Down

0 comments on commit b842adf

Please sign in to comment.