From 8108b17939ba0b55b66b72302e5c0773e2b20c1b Mon Sep 17 00:00:00 2001 From: Matt Griswold Date: Mon, 21 Jul 2025 09:43:26 -0500 Subject: [PATCH 1/2] update translation docs --- docs/translation.md | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/docs/translation.md b/docs/translation.md index 59622dea..87641cc2 100644 --- a/docs/translation.md +++ b/docs/translation.md @@ -1,9 +1,5 @@ ## Contributing to translations -### Adding a new locale - -If you wish to add a new locale, create a new ticket at stating your intent and one of the operators / developers will generate the necessary files for your locale and add them to the repository. - Translation is done using PeeringDB's Weblate instance at . ### Signing in to Weblate @@ -22,6 +18,34 @@ Translations are updated hourly on the beta website mailing list is open to anyone working on, or interested in translations. +### Adding a new locale + +If you wish to add a new locale, create a new ticket at stating your intent and one of the operators / developers will generate the necessary files for your locale and add them to the repository. + +#### Admins instructions to add + +Go to https://translate.peeringdb.com/projects/peeringdb/ + +1. Select "Server" +2. Click the "+" to add a Language +3. Search for desired language and select it +4. Clicked "Start new translation" + +Do the same with javascript + +1. Select "Javascript" +2. Click the "+" to add a Language +3. Search for desired language and select it +4. Clicked "Start new translation" + +Now any translator can go to: + +- https://translate.peeringdb.com/projects/peeringdb/server/lt/ +- https://translate.peeringdb.com/projects/peeringdb/javascript/lt/ + +and perform translations. + + ### Thanks to the translators! #### ar From a7114e1a29346364c7da81f82cc78e454b17d319 Mon Sep 17 00:00:00 2001 From: Matt Griswold Date: Mon, 21 Jul 2025 09:53:54 -0500 Subject: [PATCH 2/2] remove language specific parts --- docs/translation.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/translation.md b/docs/translation.md index 87641cc2..e77157fe 100644 --- a/docs/translation.md +++ b/docs/translation.md @@ -38,12 +38,10 @@ Do the same with javascript 3. Search for desired language and select it 4. Clicked "Start new translation" -Now any translator can go to: +Now any translator can go to the following pages and find the added language to perform translations. -- https://translate.peeringdb.com/projects/peeringdb/server/lt/ -- https://translate.peeringdb.com/projects/peeringdb/javascript/lt/ - -and perform translations. +- https://translate.peeringdb.com/projects/peeringdb/server/ +- https://translate.peeringdb.com/projects/peeringdb/javascript/ ### Thanks to the translators!