Hi,
I'm using some local translations on Xamarin App for some special cases where translations are available on server side. These local translations are linked to the device language... but, when user changes languages from app and gets translation from server, the local translations are kept on device language
Therefore, I can have a mix of server translation (let's say english ones) and local translations in the device language.
Is this a bugg ? How can I sync server and local translations ?
Tks
4 Answer(s)
-
0
How is that a bug?
Don't use device language.
-
0
Hi @aaron, device language is being used by zero startup template. I've used it in the same way. As an example, DatetimeConverter is using it to format dates into strings... and that's completely fine to me. You have also some local strings in the startup template like "no internet connection" message that has nothing to do in server side.
So, for me, it is handy to have such possibility...and will not remove it from my project.
Therfore, having local translations in sync with selected user language seems to me obvious.
-
0
Use local translations only when you don't have access to the server translations; Else use the translations come from server. For example, you can show an error message to the user if the device is not connected to internet. Local translations and server translations are not being merged!
-
0
OK, got it. Tks @alper