Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RU Transaltions #1734

Merged
merged 2 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ i18next
.use(LanguageDetector)
.init({
fallbackLng: "en",
debug: true,
debug: import.meta.env.DEV,
defaultNS,
resources,
lowerCaseLng: true,
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/locales/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@
// to a specific language file as this will break the other languages. Any new keys should be added to english
// and the language file you are working on.

// Contributor Notice: If you are adding a translation you MUST locally run `yarn verify:translations` from the root prior to PR.
// please do not submit PR's without first verifying this test passes as it will tell you about missing keys or values
// from the primary dictionary.

import English from "./en/common.js";
import Spanish from "./es/common.js";
import French from "./fr/common.js";
import Mandarin from "./zh/common.js";
import Russian from "./ru/common.js";

export const defaultNS = "common";
export const resources = {
Expand All @@ -29,4 +34,7 @@ export const resources = {
fr: {
common: French,
},
ru: {
common: Russian,
},
};
Loading
Loading