ODeck icon indicating copy to clipboard operation
ODeck copied to clipboard

Simplified Chinese version

Open songzhe2001 opened this issue 1 year ago • 1 comments

I want to translate it into simplified Chinese but I don't know how to edit the code. If you guys want to release a Chinese version, I'd like to help you translate the texts.

songzhe2001 avatar Feb 22 '24 09:02 songzhe2001

@songzhe2001

In src/renderer/i18n/locales

Copy and paste the folder "en-US"

Rename the folder you just created to "zh-CN"

Inside the folder you just renamed, you will find several files with the extension "json" Simply translate each of them

Go back to the directory src/renderer/i18n/locales

change index.ts to

import en from './en-US';
import pt from './pt-BR';
import es from './es-ES';
import cn from './zh-CN';

const resources = {
  en,
  pt,
  es,
  cn,
};

export default resources;

VagnerSilva avatar Jun 17 '24 09:06 VagnerSilva