Replies: 2 comments 9 replies
-
What Weblate version do you use? Are the interpolation references correctly highlighted while translating? |
Beta Was this translation helpful? Give feedback.
-
Getting back to my post last year, we updated weblate to the latest, and we're seeing a similar behavior across different components. "title" is a root key in many components, the Automatic Translation which is only set to "Amazon Translate" but no "Translation Memory" is automatically translating titles to the same Translated word which is in another project:
I tried deleting all the "Translation Memory" records - it seems like they are not being deleted but showing I also tried to find a switch off button to the Translation Memory, stumbled into the following and made it Any way to stop caching, clear cache properly, or a workaround/solution for that? There is no much on how to turn it off in the docs, where it is mentioned in another link that it is on by default - see installation config here https://docs.weblate.org/en/weblate-4.18/admin/machine.html#mt-weblate-translation-memory
Translation Memory Records can be deleted from the Django Interface - did a full reset, and the issue is still persisting, seems like the translation memory is working within the project when after I trigger adding components from "component discovery". Cannot find a way to tun it off from the project so far. One example: JSON: {
...
"address-book": {
"labels": {
"user_addresses": "My Addresses",
"organizations": "$t(shared.entities:organization.title_plural)",
"shop_organization": "$t(shared.entities:organization.title)"
},
"product-section": {
"labels": {
"shop_organizations": "$t(shared.entities:productShopOrganization.title_plural)",
}
}
...
} while in the generate translation memory: ...
{
"source": "$t(shared.entities:organization.title_plural)",
"target": "$t(shared.entities:productShopOrganization.title_plural)",
"source_language": "en",
"target_language": "de",
"origin": "runtime-configuration/ui-components",
"category": 10000004
},
... Which probably lead to: |
Beta Was this translation helpful? Give feedback.
-
I have a list of components that are of
i18n JSON
format, most of these components include a reference string like$t(shared.entities:product.title)
. WithAutoTranslation
enabled, you'd expect for that reference to stay the same for the destination languages. However, for some reason weblate auto translation is changing that string into another reference string that is translated to another keys. For example:I have the following components:
menu
that contains keyproducts
with value$t(shared.entities:product.title)
organization
that contains keyform.title
with value$t(shared.entities:organization.title)
warehouse
that contains keyform.title
with value$t(shared.entities:warehouse.title)
and so on...
the reference key is not included in weblate components as it is shared in an API unique for each deployment. hence
shared.entities
are not a component inside a weblate project.The outcome after using AutoTranslation is randomly assigning another references as a translation value from one key reference, for example.
menu.products
is translated as$t(shared.entities:organization.title)
which should be$t(shared.entities:product.title)
(some translations are correct while most are like that). Although when you go the the Automatic Suggestion section the translation is correct and preserves the reference.Knowing that initially the destination languages are initialized with empty string, Also tried removing the language from the UI and resetting them which yielded the same results.
I tired:
foreach component in my project I'm using the following Addons:
Beta Was this translation helpful? Give feedback.
All reactions