Skip to content

Commit 2d9061c

Browse files
Merge pull request #585 from SuffolkLITLab/more-translation-tips
Small updates to translation documentation
2 parents cc7b287 + 2b0561d commit 2d9061c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/components/AssemblyLine/translation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ be highlighted.
5555
Some parts of the interview require special handling:
5656

5757
* Buttons and system phrases need to be translated in a `words.yml` file.
58+
* At this writing, the AssemblyLine has words.yml translation files for Spanish, Arabic, French, and Nepali, named es-words.yml, ar-words.yml, etc.
5859
* Blocks that do not use Mako, like the `sections` block, need to be translated
5960
in-place with the `language` modifier.
61+
* Literal Python strings, like you might use in a call to `validation_code()`
6062

6163
When a phrase has not been translated yet, the user will not get an error. Instead, Docassemble will show the default language.
6264

0 commit comments

Comments
 (0)