Skip to content

Commit

Permalink
add translation to example
Browse files Browse the repository at this point in the history
  • Loading branch information
ziegm committed May 19, 2024
1 parent ec4238d commit cd1af09
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ For further information see [here](https://github.com/ahdis/k8s-fhir.ch#publish-

***************************

# Multi-Language IGs

Documentation:
* https://build.fhir.org/ig/FHIR/ig-guidance/languages.html#producing-multi-language-igs
* https://chat.fhir.org/#narrow/stream/380308-Multi-lingual-IGs

***************************

# Further links
* [IG Publisher Documentation](https://confluence.hl7.org/display/FHIR/IG+Publisher+Documentation)
* [Using the FHIR Validator](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator)
Expand Down
1 change: 1 addition & 0 deletions input/fsh/examples/Patient.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Description: "Example for Patient"
* name
* family = "Meier"
* given = "Petra"
* maritalStatus.text = "Married"
7 changes: 7 additions & 0 deletions input/translations-de/Patient-PetraMeier.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# en -> de

#: CodeableConcept.text
#. A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
msgid "Married"
msgstr "Verheiratet"

7 changes: 7 additions & 0 deletions input/translations-fr/Patient-PetraMeier.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# en -> fr

#: CodeableConcept.text
#. A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
msgid "Married"
msgstr "Marié"

7 changes: 7 additions & 0 deletions sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,12 @@ parameters:
excludettl: true
allow-extensible-warnings: true
display-warnings: true
i18n-default-lang: en
i18n-lang:
- de
- fr
translation-sources:
- input/translations-de
- input/translations-fr
path-resource:
- input/resources

0 comments on commit cd1af09

Please sign in to comment.