Is gotext safe to use to translate web requests? #100
Replies: 4 comments 3 replies
-
Hi @roma-glushko , What you need is to use the Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure to follow what you're proposing. What would be the use case? |
Beta Was this translation helpful? Give feedback.
-
I didn't know about that article, I'll take a look later! For your use case I don't think the package needs to support it, as it's more like a wrapper to fetch the corresponding Locale when needed. |
Beta Was this translation helpful? Give feedback.
-
Resolving the conversation ✅ |
Beta Was this translation helpful? Give feedback.
-
I'm curious if it's safe to call
SetlLanguage()
method to internationalize requests coming from users with different language perferences? For example, the webserver receives two requests in parallel, one has to be in Japanese and another one has to be in German, is there a chance of wrong translations because these two requests interleave each other?Beta Was this translation helpful? Give feedback.
All reactions