Commit Graph

32 Commits (483310c3457dfcf765053a3127efd303758c8f75)

Author SHA1 Message Date
Madmadness65 e39b157767 Make Simplified Chinese locale use zh_CN 2024-05-08 23:13:38 -05:00
Jane620 5992d9eb81
add simplifed chinese locale (#485)
* add chinese locale, but translation is not yet complete.

* Add chs and cht locale

* translate ability,move,pokeball,pokemon

* Add files via upload

* Add files via upload

* Update i18n.ts

* Delete src/locales/zh_cn directory

* Add files via upload

* Update settings.ts

* Delete src/locales/chs directory

* Add files via upload

* add tutorial

* fix conflict issue

* remove cht, due to chs is almost done by justhil

* remove duplicated setting

* spell correction

---------

Co-authored-by: ZXZhuang <2993968012@qq.com>
Co-authored-by: justhil <138752349+justhil@users.noreply.github.com>
Co-authored-by: Jianfeng 2. Wang (NSB) <jianfeng.2.wang@nokia-sbell.com>
2024-05-08 22:59:49 -05:00
Matthew 674b2257be
I18n import cleanup (#562)
* config import change

* all other configs
2024-05-06 14:25:17 -04:00
ArceUseless bde7620ac0
New spanish translations and literals for all langs (#552)
* Spanish translations for intro messages and some menus. Added Empty (save file) to lang files

* Spanish translations + new literals in all langs

* Spanish translations, new literals for all langs (starter-select-ui-handler)

* Two translations

* Resolving accidental overwrite in french menu.ts

* New starter-select-ui-handler lang files for all langs

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-06 12:02:45 -04:00
Alessandro Bruzzese 41f9420c90
Added Italian translations for ability.ts and other element (#471) 2024-05-04 21:00:28 -05:00
Flashfyre 6ac224ab8a Refactor to split battle messages from menu 2024-05-01 18:54:35 -04:00
Dakurei c44009738a Add auto detect user language
+ prLang used to override langague detected if necessary
2024-04-30 16:48:37 -04:00
Thomas David 9575054010
Implement localisation for tutorial (#330)
* Implement localisation for tutorial

* Fix modules name

* Fix keys name

* Fix keys name part 2 : the return

* Add lines breaks in localisation files
2024-04-29 12:33:18 -04:00
Flashfyre a9a9e512a0 Revert "Auto select language implementation"
This reverts commit 5fd7b368e2.
2024-04-28 10:01:29 -04:00
Thomas David 5fd7b368e2 Auto select language implementation 2024-04-28 09:38:16 -04:00
Flashfyre 13b1ad698e Menu automatically adjusts width for option width 2024-04-25 21:21:44 -04:00
BronzeMaster5000 e3ef65523a Added german as selectable in options
Also added a comment in i18n that refers to how to add a language to the game settings menu to actually select it.
2024-04-25 21:21:44 -04:00
Dakurei 05c45669da Modification of the move description window in battle
+ Modification of data layout
  + Adds "power" to visible data
  + No longer uses a "command_fight_labels" image, but directly text (allowing translation by the way)
  + Added i18n
  + Creation of "en" and "fr" locales for fight-ui-handler
2024-04-25 20:57:47 -04:00
Edralo 4cfae4703c Implement localisation for main menu options (menu-ui-handler) & add french locale 2024-04-25 14:27:05 -04:00
Pablo González 7055ea49c7
Support localization of Pokémon abilities (#271)
* Support localization of Pokemon abilities

* Reload ability localization when language is changed

* Add Spanish localization for abilities

* Add missing French abilities localization

* Add missing localize call on abilities

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 21:10:09 -04:00
Edralo dc575d44a3 Implement localisation for pokemon stats & add french locale 2024-04-24 19:12:26 -04:00
Juan-Lucas 1b1578d266
command-ui: add i18n for command ui handler and add i18n for fr (#258)
* command-ui: add i18n for command ui handler and add i18n for fr

* Add missing Spanish file

* Add additional missing localization references

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 00:36:07 -04:00
Flashfyre ba71d2750b Load files from manifest for caching 2024-04-23 22:00:23 -04:00
PabloG02 a71392f2d6 Add Spanish localization for menu, moves and pokeballs 2024-04-23 11:58:47 -04:00
Gwendal 8d7f1ae554
Allowing pokemon name translation (#228)
* Allow pokemon name translation

* Improve Pokemon localization

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-21 19:53:24 -04:00
Juan-Lucas 3c90427361 pokeball: implement i18n on pokeball name and add french i18n 2024-04-21 11:19:57 -04:00
Miguel S 95d2ad2fb4
Added language setting (#185)
* Added language setting

* Allow properly changing language

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-19 14:55:01 -04:00
Flashfyre fe288ce16c Add French move translation TS classes 2024-04-18 08:41:04 -04:00
Miguel S 4330ee5543 Menu locales for french 2024-04-18 08:41:04 -04:00
Miguel S 7bc147166e
i18n for Pokemon moves (#155)
* i18n for moves

* Remove extra comma from merge

* Fixed some missing moves description

* Infer move i18n keys

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-16 14:29:32 -04:00
Flashfyre abc729ed5c Revert "Replace intro with smaller file"
This reverts commit 8cce544536.
2024-04-15 15:04:42 -04:00
Flashfyre 8cce544536 Replace intro with smaller file 2024-04-15 14:45:00 -04:00
Flashfyre 69d9f705a1 Fix issue with cache busting fix for intro video 2024-04-15 14:14:41 -04:00
Flashfyre 22f6521fcb Ignore cache busting for intro video 2024-04-15 14:10:48 -04:00
neverblde cdab38abda Don't escape interpolation values 2024-04-13 23:02:32 -04:00
James Lin 73c9625df1
Add i18next framework to enable further contributions (#96)
* prototype

* Update with comments and type safety
2024-04-11 23:47:03 -04:00
Flashfyre eb6ee79b3e Add cache busting 2024-03-31 23:58:03 -04:00