Browse Source

Add explanation for translations

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 years ago
parent
commit
36cc0feb71
1 changed files with 17 additions and 1 deletions
  1. 17 1
      app/src/main/res/values/strings.xml

+ 17 - 1
app/src/main/res/values/strings.xml

@@ -6,7 +6,7 @@
   ~ @author Marcel Hibbe
   ~ @author Tim Krüger
   ~ Copyright (C) 2022 Tim Krüger <t@timkrueger.me>
-  ~ Copyright (C) 2022 Marcel Hibbe <dev@mhibbe.de>
+  ~ Copyright (C) 2022-2023 Marcel Hibbe <dev@mhibbe.de>
   ~ Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
   ~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
   ~
@@ -24,6 +24,22 @@
   ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
   -->
 
+<!--
+How to work with translations as a developer:
+- Only add new translations to values/stings.xml, don't do this for other languages (it will be done via transifex).
+- Never change the key of a translation. If it really has to be changed, delete it and create a new entry instead.
+- If you change a value in values/stings.xml, also backport this to all stable branches.
+- Translations are synced every night (or when manually triggered):
+   - New entries are added to transifex.com
+   - Updated translations from transifex are added via Nextcloud bot to this repo.
+
+How to translate with transifex:
+- Join as a team member for your language: https://www.transifex.com/nextcloud/nextcloud/languages/
+- Go to https://www.transifex.com/nextcloud/nextcloud/translate/#resource/android-talk and choose your language in the
+ dropdown menu to start translating.
+- To find a key via search, enter "key:" and it's name, e.g. "key:nc_about"
+-->
+
 <resources>
     <!-- Common -->
     <string name="nc_yes">Yes</string>