rubynor / bigfive-web

Website for taking personality tests
https://bigfive-test.com
MIT License
433 stars 164 forks source link

translated english to simplified Chinese #42

Closed ywalia01 closed 4 years ago

vercel[bot] commented 4 years ago

@ywalia01 is attempting to deploy a commit to the Rubynor Team on Vercel.

A member of the Team first needs to authorize it.

maccyber commented 4 years ago

Woho - awesome,

  1. Can you please run yarn lintfix

  2. And add something like this to nuxt.config.js under modules['i18n'].locales:

...
          {
            name: 'Chinese',
            code: 'zh-Hans',
            iso: 'zh-Hans',
            file: 'zh-Hans.js',
            dir: 'ltr'
          },
...

If you now run yarn and then yarn dev and open the web-browser on http://localhost:3000 you will find your language in the dropdown-list.

See that it works at expected.

ywalia01 commented 4 years ago

Woho - awesome,

  1. Can you please run yarn lintfix
  2. And add something like this to nuxt.config.js under modules['i18n'].locales:
...
          {
            name: 'Chinese',
            code: 'zh-Hans',
            iso: 'zh-Hans',
            file: 'zh-Hans.js',
            dir: 'ltr'
          },
...

If you now run yarn and then yarn dev and open the web-browser on http://localhost:3000 you will find your language in the dropdown-list.

See that it works at expected.

Okay, will do that

ywalia01 commented 4 years ago

Hey, I've done the 2 tasks:

yarn lintfix add the lang info to nuxt.config.js But when I try to run yarn dev it is continuously giving me errors. I'm commiting these changes for now and for french and hindi too.

maccyber commented 4 years ago

Looks good to me :-) (but I don't know the language) Thanks

Deployed here: https://bigfive-test.com/zh-Hans