Skip to content

Tiqr/eduid-app-android

Repository files navigation

eduid-app-android

eduId app for Android

Requirements

git submodule init
git submodule update

Generate translations

The translations are kept in the file localizations.yaml. For this, you need to install the node package localicious via yarn (if you do it with npm, it won't work correctly). See this blog post for more info about localicious.

Once you have it installed, execute the following line from the root of the repository to regerenate the Android resource files based on the contents of localizations.yaml:

localicious render localizations.yaml ./ --languages en,nl --outputTypes android -c SHARED,ANDROID &&\
mv android/nl/strings.xml app/src/main/res/values-nl/strings.xml &&\
mv android/en/strings.xml app/src/main/res/values/strings.xml &&\
rm -rf android/