Răsfoiți Sursa

Add a note about fuzzy strings in Localization using gettext

Hugo Locurcio 3 ani în urmă
părinte
comite
90ed6eb108
1 a modificat fișierele cu 10 adăugiri și 0 ștergeri
  1. 10 0
      tutorials/i18n/localization_using_gettext.rst

+ 10 - 0
tutorials/i18n/localization_using_gettext.rst

@@ -167,6 +167,16 @@ present in the PO template. This can be done automatically using the
 If you want to keep a backup of the original message file (which would be
 saved as ``fr.po~`` in this example), remove the ``--backup=none`` argument.
 
+.. note::
+
+    After running ``msgmerge``, strings which were modified in the source language
+    will have a "fuzzy" comment added before them in the ``.po`` file. This comment
+    denotes that the translation should be updated to match the new source string,
+    as the translation will most likely be inaccurate until it's updated.
+
+    Strings with "fuzzy" comments will **not** be read by Godot until the
+    translation is updated and the "fuzzy" comment is removed.
+
 Checking the validity of a PO file or template
 ----------------------------------------------