You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that I have the string "Hello wold" in my project.
Extracting it with php bin/console translation:extract will output the following <trans-unit>:
<trans-unitapproved="yes"resname="Hello world"id="[some_id]">
<source>Hello world</source>
<targetphase-name="approval-1"state="signed-off">Bonjour le monde</target>
<jms:reference-fileline="[some_line]">[some_file]</jms:reference-file>
</trans-unit>
Now, I want to extract my translation again, and...
Expected behavior
<trans-unitapproved="yes"resname="Hello world"id="[some_id]">
<source>Hello world</source>
<targetphase-name="approval-1"state="signed-off">Bonjour le monde</target>
<jms:reference-fileline="[some_line]">[some_file]</jms:reference-file>
</trans-unit>
Actual behavior
<trans-unitresname="Hello world"id="[some_id]">
<source>Hello world</source>
<target>Bonjour le monde</target>
<jms:reference-fileline="[some_line]">[some_file]</jms:reference-file>
</trans-unit>
Conclusion
I would like the extractor to keep the approved, phase-name and state attributes which are essential to a good i18n workflow.
Is that at all possible? I have no idea how the extractor works with the pre-existing state of translations but that would really make the translation files more usable.
Any thoughts on this issue?
Anyway, thanks for a great bundle!
The text was updated successfully, but these errors were encountered:
Let's say that I have the string "Hello wold" in my project.
Extracting it with
php bin/console translation:extract
will output the following<trans-unit>
:Now, I translate it with lokalize and get:
Now, I want to extract my translation again, and...
Expected behavior
Actual behavior
Conclusion
I would like the extractor to keep the
approved
,phase-name
andstate
attributes which are essential to a good i18n workflow.Is that at all possible? I have no idea how the extractor works with the pre-existing state of translations but that would really make the translation files more usable.
Any thoughts on this issue?
Anyway, thanks for a great bundle!
The text was updated successfully, but these errors were encountered: