App with 2 languages

What’s the most efficient way to make an app with multiple languages? In my case, I only need 2 languages. Is it possible to create something simple?
I want to add a button or a boolean for the language in the user profile or the main page

I heard some people used weglot!

1 Like

I saw that, but it’s not exactly what I want.
I want something native, and the translation apps aren’t always accurate.

In Weglot you can edit your translations without issue.

1 Like

I want to do something native, no 3rd-parties..
I’ve seen a template made with native change language selector and it was so cool.
check the language button on top right screen.

It is probably using a constants table for labels in every language.

1 Like

@ThinhDinh hey pal, any idea? :slightly_smiling_face:

I would suggest Weglot, otherwise you have to do some complicated setup to get the right version for each of the components where you want localization.

If you do eventually use Weglot, check carefully how they calculate your usage and see if it’s a good fit.

2 Likes

@MazenAlharbi I actually decided to build a translation table within Glide for two of my apps just because I didn’t know that Weglot might work with Glide before, and for one of them I needed a language switcher. Here’s why I wouldn’t do this again:

  • it slows you down with development tremendously since you have to map the dynamic text for every single UI piece.
  • if you want a language switcher, you need one big table with translations in multiple columns. It’s really hard to maintain and find your way around if you need to change anything.
  • your User Table grows in columns significantly.
  • if Glide doesn’t support your target language natively, you’re going to end up with bits of UI in English.
  • you might want to improve Glide’s translation for you target language anyway, that’s where Weglot would come in handy.

My recommendation:

  • if you don’t need a language switcher, go with Weglot.
  • if you need a language switcher, try to find ways to do this with Weglot anyway or at least focus on the app for now and leave translation issue to tackle last. I will be experimenting with this soon, might start a thread if I figure something out.
2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.