mirror of https://github.com/gogs/gogs.git
716 B
716 B
Import locales from Crowdin
-
Download the ZIP archive from Crowdin and unzip it.
-
Go to root directory of the repository.
-
Run the
import
subcommand:$ ./gogs import locale --source <path to the unzipped directory> --target ./conf/locale Locale files has been successfully imported!
-
Run
task generate-bindata
to generate corresponding bindata. -
Run
task web
to start the web server, then visit the site in the browser to make sure nothing blows up. -
Check out a new branch using
git checkout -b update-locales
. -
Stage changes
-
Run
git commit -m "locale: sync from Crowdin"
. -
Push the commit then open up a pull request on GitHub.