Skip to content

Commit

Permalink
Merge pull request #562 from marat2509/main
Browse files Browse the repository at this point in the history
Add Russian Language Support
  • Loading branch information
sinamics authored Oct 2, 2024
2 parents 01e9c08 + 6e4ecb0 commit 5115402
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 5115402

Please sign in to comment.