tyiu on Nostr: The predicted language is provided by Apple’s natural language library, but it can ...
The predicted language is provided by Apple’s natural language library, but it can be incorrect. That accounts for most of what you see in your experience using translations in Damus.
The other issue is that we don’t retry failed requests to fetch translations at the moment, which could improved on. Requests can transiently fail for a multitude of reasons.
Noted about caching translations. I’ll think on it more.
Published at
2023-04-23 09:57:28Event JSON
{
"id": "0c4d9d6d5ea288707567525db3b197d08eee14fd503a331fd064ecc9efb1cc4d",
"pubkey": "2779f3d9f42c7dee17f0e6bcdcf89a8f9d592d19e3b1bbd27ef1cffd1a7f98d1",
"created_at": 1682243848,
"kind": 1,
"tags": [
[
"e",
"e813ea724ec06994bdbc201ca4493959de0f3f23718349c0834f93d6a04d1e53"
],
[
"e",
"bf8fd168df52e01218d132a8ad3c1bd59f26003ac4c2ab4fc4b71102f886353b"
],
[
"p",
"5144fe88ff4253c6408ee89ce7fae6f501d84599bc5bd14014d08e489587d5af"
],
[
"p",
"649eefe468ddb107c05eba6d0511d2a5298540fe4d5f0072b00636008fc72f92"
]
],
"content": "The predicted language is provided by Apple’s natural language library, but it can be incorrect. That accounts for most of what you see in your experience using translations in Damus.\n\nThe other issue is that we don’t retry failed requests to fetch translations at the moment, which could improved on. Requests can transiently fail for a multitude of reasons.\n\nNoted about caching translations. I’ll think on it more. ",
"sig": "45c6498531d8e16443e7c7a02eefafaed2765086f94c750d6f96904e45141895a626c80b5bf85e80f581b3ac0b8ae6580e9b146e6e49792b2ea9389b2f539e82"
}