From 31b83ba47a958bf72443708f7cf004055682f82b Mon Sep 17 00:00:00 2001 From: Tobi Date: Fri, 28 Oct 2022 17:35:56 +0200 Subject: [PATCH] Add info on date + time localization to contribution guidelines (#9229) Dates and times are localized using PrettyTime. Added a note to guide translators to also localize that library to create a fully localized experience. Co-authored-by: opusforlife2 <53176348+opusforlife2@users.noreply.github.com> --- .github/CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index d08ae9051..d5fdc97e0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -22,6 +22,7 @@ You'll see *exactly* what is sent, be able to add **your comments**, and then se * NewPipe is translated via [Weblate](https://hosted.weblate.org/projects/newpipe/strings/). Log in there with your GitHub account, or register. * Add the language you want to translate if it is not there already: see [How to add a new language](https://github.com/TeamNewPipe/NewPipe/wiki/How-to-add-a-new-language-to-NewPipe) in the wiki. +* NewPipe uses the [PrettyTime](https://github.com/ocpsoft/prettytime) library to display localized versions of dates and times. It needs to be translated, too. Read [these instructions to add a new language](https://www.ocpsoft.org/prettytime/#section-14) and [this issue](https://github.com/TeamNewPipe/NewPipe/issues/9134) for more info. ## Code contribution