Closed lincmba closed 10 months ago
The target all the translatable fields in this translatables
contant https://github.com/onaio/fhir-tooling/blob/fb4d5bc6b48e9d4e45f136f6f20bf0c6ad4dde79/efsity/src/main/java/org/smartregister/processor/FctValidationProcessor.java#L510
The second part to achieving translation as documented here https://github.com/onaio/fhir-tooling/issues/10 is to extract application configs.
App config texts exists in different fields, for this case we will start by targeting the
display
field.Implementation
[x] Extract the text field in the entire document as mentioned above.
[x] Generate a hash of the text field content using MD5. This will be used as the key in the_.properties file
[x] The generated_.properties file should look like
[x] Allow for append to the_.properties file.
[x] All properties in the properties file should be unique
The properties file should be stored in a location that meets this standard https://docs.google.com/document/d/1Seoo9YYDBI87lmkA5siNqWsdYIgiwE_EYZ6relz8V14/edit#heading=h.mg0i4t998yid i.e in the
/<project>/<environment>/<app>/<configs>/<translations>/strings_default.properties