Skip to content

Commit

Permalink
add text to TRANSLATORS file explaining how contextual translation ms…
Browse files Browse the repository at this point in the history
…gids work and should be translated
  • Loading branch information
pauldavisthefirst committed May 20, 2020
1 parent 7dedf59 commit 61ce687
Show file tree
Hide file tree
Showing 33 changed files with 24,287 additions and 22,532 deletions.
16 changes: 16 additions & 0 deletions TRANSLATORS
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@ to install them.
7. Restart Ardour to see what your translation looks like and whether it needs
fixes, e.g. has to be shorter.

8. IMPORTANT NOTE: there are times when the English phrase to be translated is
ambiguous without more context. What does "S" mean? In such cases, we use a
different markup for translated strings which includes context. It will appear
in the msgid in the .po/.pot file like this:

CONTEXT|ToBeTranslated

So for example

Solo|S

This should help you understand the the "S" here is a short form designed to refer to "Solo".

In your translated text, you should remove the CONTEXT and the | symbol.


Note that as of Ardour 4 the translations are only installed when you run
'./waf i18n' after './waf' and before 'sudo ./waf install'.

Expand Down
Loading

0 comments on commit 61ce687

Please sign in to comment.