Avatar
Terry Yiu
2779f3d9f42c7dee17f0e6bcdcf89a8f9d592d19e3b1bbd27ef1cffd1a7f98d1
Building Yeti, Comingle, Nostr SDK for Apple Platforms, Damus, Nostash, SatsPrice

> some content can not be translated, or the translation can not be displayed

Translations are always a guess and best effort. We could potentially add features to mitigate the issue, such as a setting to define your own language prediction minimum confidence level (currently 50%), or allow you to force translation from the language of choice.

> when Damus is relaunched, it will re-request the translation of the previously translated content

We also don’t cache the original notes when Damus is relaunched. If we want to go down the route of caching translations, we probably also want to cache the original notes. I’ll ask the Damus contributors what they think about that.

I also learned that they smile in text like this )))

Yes, but I think that can remain an implementation detail. Don’t think it needs to be part of the Nostr protocol. In fact, the problem described here seems like a small corner case and very theoretical, and the proposed solution seems a bit over engineered comparatively. Any request can be man-in-the-middled. There isn’t really anything specific to translations. HTTPS solves some of this I think.

It’s morning somewhere in the world!

I looked at that a bit. The Swift hashtag parsing code handles Unicode properly but the C hashtag parsing code does not, and the latter is the one that needs fixing, I believe.

No idea but I’ve had it enabled before I found out about Nostr and it’s been fine.

Hello

Salut

你好

Привіт

Привет

Hola

🤙🏼

Replying to Avatar JeffG

Image not found 🤔

Known bug. If you enable OnlyZaps, close the app and reopen, OnlyZaps disables.