Internationalization


Translations into versions for other languages are welcome 🧐! Please read the translation guide before starting translations.

KeyNameStatus
ar Arabic ✔️ @hadialqattan@AhmedElTabarani
bg Българският език ✔️ @null-none
ca Català ✔️ @marcizhu
de Deutsch ✔️ @Schloemicher
el Ελληνικά ✔️ @Likecinema
en-US English ✔️
es Español ✔️ @Chofito
fa فارسی ✔️ @Nima-Ra
fr Français ✔️ @gpatarin
hu Hungarian ✔️ @zalnaRs
id Indonesia ✔️ @aarestu
it Italiano ✔️ @blackcat-917
ja 日本語 ✔️ @hbkrkzk
ko 한국어 ✔️ @KOZ39
nb Norsk Bokmål ✔️ @rubjo
nl Nederlands ✔️ @nickbouwhuis
pl Polski ✔️ @KanarekLife
pt-BR Portuguese (Brazil) ✔️ @andrenoberto
ro Română ✔️ @alyn3d
ru Русский ✔️ @bladeaweb
th แบบไทย ✔️ @nxanywhere
tr Türkçe ✔️ @abdullah
uk Українська ✔️ @bladeaweb
vi Tiếng Việt ✔️ @duythanhvn
zh-CN 简体中文 ✔️
zh-TW 繁體中文 ✔️ @Yukaii @5idereal

Translation Guide

First you need to determine the English abbreviation of a language as locale, such as en-US, this locale value should strictly refer to the Electron's Documentation and Chromium Source Code.

The internationalization of Motrix is divided into two parts:

  • Element UI
  • Menu & Main Interface

Element UI

The internationalization of Element UI is provided by the Element community, then find the language pack file corresponding to locale (both locale naming may be inconsistent), which is import in src/shared/locales/all.js, such as

import eleLocaleEn from 'element-ui/lib/locale/lang/en' import eleLocaleZhCN from 'element-ui/lib/locale/lang/zh-CN'

Menu & Main Interface

Motrix uses the i18next library for internationalization, so you need a quick look at how to use it. The configuration files are divided by locale: src/shared/locales, such as src/shared/locales/en-US and src/shared/locales/zh-CN.

There are language files in the directory according to the business module.

After the menu module is refactored, the internationalization of the menu has been dispersed into the following files, and there is no need to copy the configuration in src/main/menus.

  • about.js
  • app.js
  • edit.js
  • help.js
  • index.js
  • menu.js
  • preferences.js
  • subnav.js
  • task.js
  • window.js

Files

Motrix 1.8.19 Setup Windows
External
Jan 25, 2024
Motrix 1.8.19 Amd64
External
Jan 25, 2024
Motrix 1.8.19 - Mac
External
Jan 25, 2024
Motrix 1.8.19 32x Windows
External
Jan 25, 2024

Get Motrix

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.