September 18, 2019

Translated App to Portuguese

Zeno Rocha @zenorocha

LeCheese is now available in Portuguese! ๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡น

To accomplish this, I had to translate almost 6 million characters. Here's how I did it:

Phase 1 - App Content

First, I had to go over the entire source and replace every text with a function. This was by far the most time-consuming task. These two libraries were very helpful: i18n-js and expo-localization.

Phase 2 - Database Content

Then I had to make sure that every single item in my database was translated. Today I'm using Firebase's Firestore, so I had to loop through all documents and use Google's AutoML Translation API to translate them.

Phase 3 - User Generated Content

On LeCheese users can leave a review about cheese, so I needed to create a foundation that could automatically translate user-generated content. To solve this I wrote a Cloud Function that executes the translation every there's a new database entry.

Phase 4 - App Store Content

Finally, I was ready to publish to the Google Play and App Store. This involved pretty much translating the promotional text and taking new screenshots in different devices.

This whole process took me a week to finish, but I learned a lot and I'm super happy to make the app more accessible for other people.

How about you? How's your experience with translation?

Loading comments...
Today's Top Milestones
  • $1,054 in sales in 24 hours
    We have implemented our payment method last week on Dorik and got 8 paid customers in the first week. But we have received some re
  • Gradient Color Generator
    The benefit to seeing the color variations at full size is you can really visualize how they will look with your actual design projects. Our gradient
  • Scratched my own itch:Beta launch
    If you've been following the "scratched my own itch" milestone updates of RefMonkey , you would know how the whole idea of building RefMonkey came abo
  • We Are Hosting A Self Advocacy webinar
    We are hosting Interview Negotiation and Self Advocacy webinar. Would you like to attend? https://careermove.io/events/negotiation
  • Launched on ProductHunt!
    SZ Project Tracker has launched on ProductHunt! https://www.producthunt.com/posts/sz-project-tracker It's a project that I originally built for myself
  • Crossed 200$ in total sales
    I was able to touch the 200$ mark yesterday by a connection on twitter who had issues with his ad campaigns reaching out to me. I helped him understan
  • 2 patrons on Patreons
    I have 2 patrons! Some might think - wow you're happy about two subscribers? My answer is: Yes. You know when they say the hardest thing is: > Going f
  • Complete 180 in how the process works.
    Before I was focusing on making content into shareable images but after having discussions with writers and doing some research into how authors are u
  • 1000 Newsletter Subscribers
    Frenzy Games Newsletter contains regular updates about my games including new features and discounts. The first email was sent in March 2019 to just o
  • Finally Version 1.0
    Working on Mainterus.com since late June 2020. This is my third attempt to create gaming website. My first attempt to create this kind of website is i