fossasia / eventyay-video

https://video-dev.eventyay.com
Apache License 2.0
1.49k stars 22 forks source link

Add UI translations for Arabic, French, Spanish, Ukrainian, Russian #186

Closed odkhang closed 1 month ago

odkhang commented 1 month ago

This PR closes/references issue #180 . It does so by:

  1. Update translation files for Arabic, French, Spanish, Ukrainian, Russian.
  2. Create a pop up for User first time access platform, asking for language and store in localstorage.

    How has this been tested?

Checklist

Summary by Sourcery

This pull request introduces new UI translations for Arabic, French, Spanish, Ukrainian, and Russian. It also adds a pop-up for first-time users to select their preferred language, which is then stored in local storage. Additionally, existing translations have been updated for improved accuracy.

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request adds UI translations for Arabic, French, Spanish, Ukrainian, and Russian. It updates the translation files for these languages and includes a new step in the user greeting prompt for selecting the interface language. Configuration files are also updated to support the new languages.

File-Level Changes

Files Changes
webapp/src/locales/de.json
webapp/src/locales/pt_BR.json
webapp/src/locales/en.json
Updated and added new translations for German, Brazilian Portuguese, and English locales.
webapp/src/locales/index.js
webapp/config.js
Added new language options and updated configuration to support Arabic, French, Spanish, Ukrainian, and Russian.
webapp/src/components/profile/GreetingPrompt.vue Enhanced the greeting prompt to include a step for selecting the interface language.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
odkhang commented 1 month ago

Choose language in user profile

image

Pop up first time access platform

image