genshindb
this app is not affiliated with or endorsed by mihoyo. genshindb is just a database app for the genshin impact game
features
- artifacts
- characters
- weapons
- materials
- and many more to come
contributing
before contributing, please ask me if whatever you are planning to do / add / improve is valid for this project.
you can build and run this thing by following these steps:
- buy this source
- checkout the develop branch
- run
flutter pub get
- run
flutter pub run build_runner build --delete-conflicting-outputs
- install the
flutter intl extension
(it is available in vs code and android studio) - run the
flutter intl initialize
command from your ide - create a
secrets
class in the infrastructure/telemetry folder and add a static property calledappcenterkey
(you could also comment the related code) - profit
translations
currently the app supports english and spanish (there are some folks working on a french / russian translation).
if you want to help me with the translations, i encourage you to check the following files:
- the main one (where all the data of the characters / artifacts / etc. are stored):
main - the general one (where common strings are stored [not related specifically to the game]):
general
to translate the general one is very simple, create a copy of the file, keeping the keys and translate the values:
e.g (in spanish) : “dark” :”oscuro”
the main one is where you will find all the data for all the weapons, artifacts, etc.
to translate this file just create a copy of it and do the following:
there is a key called “key” for each character, weapon, etc, and this one does not require a translation, it’s just there for convenience,
and the same applies here, just keep the keys and translate the values
e.g: if i’m translating “name”: “normal attack” to spanish it will look like this: “name”: “ataque normal”
in this file, there are some translations (mainly for weapons) that look like this: “increases dmg against enemies affected by hydro or pyro by {{0}}%”,
the {{x}} is a placeholder and the value shouldn’t be changed, but the position can be changed in the text.
Comments are closed.