How can I translate text of widget from variable of supabase query?

Hello, I build mobile app which support multi languages.

How can I translate text of widget which is set from variable of supabase query? I already use translate widget text which is typed to the widget and is not from supabase.

But I would translate text from supabase query to widget text using set from variable option. The example text from supabase database is 'hello'. Then I would show the widget text like french 'bonjour' or spanish 'hola' which is automatically translated after getting the text set from variable of supabase query.

How can i do that?

4
1 reply