Skip to content

Commit

Permalink
docs: separate section for the 'crowdin download translations' subcom…
Browse files Browse the repository at this point in the history
…mand (#633)
  • Loading branch information
andrii-bodnar authored Sep 7, 2023
1 parent 760eae2 commit 950042b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions website/mantemplates/crowdin-download-translations.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
:includedir: ../generated-picocli-docs
:command: crowdin-download

== crowdin download translations

include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-description]

include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-synopsis]

include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-arguments]

include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-commands]

include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-options]

include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-footer]

=== Notes

- `-l`, `--language=language_code` - defines the language translations that should be downloaded from Crowdin. By default, translations are downloaded for all project's target languages. link:https://developer.crowdin.com/language-codes/[Crowdin Language Codes].

=== Examples

Download multiple languages:

----
crowdin download -l de -l fr -l it
crowdin download --language=de --language=fr --language=it
----

Download all translations even if the corresponding source files are missing locally:

----
crowdin download --all
----
1 change: 1 addition & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const sidebars = {
collapsible: true,
collapsed: true,
items: [
'commands/crowdin-download-translations',
'commands/crowdin-download-sources',
'commands/crowdin-download-bundle',
]
Expand Down

0 comments on commit 950042b

Please sign in to comment.