ACINQ / phoenix

Phoenix is a self-custodial Bitcoin wallet using Lightning to send/receive payments.
https://phoenix.acinq.co
Apache License 2.0
616 stars 93 forks source link

(ios) German localization #555

Closed robbiehanson closed 2 months ago

robbiehanson commented 2 months ago

Using LangTool to update German translation for both Android & iOS.

The commits have been separated into the various commands used:

$ langtool config

I used the config tool and added the paths to our localization/strings files.

$ langtool reorg --lang de

The reorg tool updates the (German) XML files to match the corresponding base XML files (e.g. order of strings, placement of comments). So no functional changes in this commit.

The reorg tool also performs "garbage collection." That is, it will delete "orphan" translations (that no longer exist in the base XML file). However, there were no orphan translations here.

langtool translate --source android --lang de

The translate tool uses DeepL to automatically translate any missing strings. In this case, we filled in all the missing German translations for Android.

langtool sync --source android --lang de

The sync tool copies translations from source to target. In this case, we're copying from Android to iOS.

langtool translate --source iOS -lang de

We use the translate tool again to fill in all the missing German translations for iOS.