Skip to content

Commit

Permalink
Add russian language
Browse files Browse the repository at this point in the history
  • Loading branch information
marat2509 committed Sep 26, 2024
1 parent 5fd0bee commit 0ff9501
Show file tree
Hide file tree
Showing 3 changed files with 938 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {
i18n: {
defaultLocale: "en",
// localeDetection: false,
locales: ["en", "fr", "no", "pl", "zh-tw", "zh", "es"],
locales: ["en", "fr", "no", "pl", "zh-tw", "zh", "es", "ru"],
},
trailingSlash: true,
eslint: {
Expand Down
3 changes: 2 additions & 1 deletion src/locales/lang.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const supportedLocales = ["en", "fr", "no", "zh", "pl", "zh-tw", "es"];
export const supportedLocales = ["en", "fr", "no", "zh", "pl", "zh-tw", "es", "ru"];
export const languageNames = {
default: "System",
en: "English",
Expand All @@ -8,4 +8,5 @@ export const languageNames = {
zh: "Chinese",
"zh-tw": "Traditional Chinese",
es: "Spanish",
ru: "Русский",
};
Loading

0 comments on commit 0ff9501

Please sign in to comment.