Skip to content

Commit

Permalink
add note about translation ref #2
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kro authored Feb 5, 2025
1 parent 73c628a commit 7cf211b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/web/docs/Developer/Translating.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ use `WRITE_MESSAGEF(TL("The vehicle '%' has a problem."), id);` (this works for

Please be aware that changing a translatable string in the code (even if you just fix a typo)
will invalidate (i.e. remove) all translations. This does not mean you should not do it, you
should just review the changes to the translation files as well.
should just review the changes to the translation files as well. In case you want to keep the translations
but fix a typo in the translatable string, please consider using [our helper scripts](#change_original_strings) for that task.

The translations should not be applied to debug and developer messages. This includes everything
in src/foreign, src/libsumo, src/libtraci, src/traci_testclient and unittest.
Expand Down

0 comments on commit 7cf211b

Please sign in to comment.