AI has lowered the bar for building apps dramatically. With an idea and a little persistence, you can take an app all the way to the store using nothing more than your weekends.
So here's a suggestion: if you're building with AI anyway, why not make your app multilingual from day one?
This post is especially for anyone who thinks "localization is for big companies" or "I can't afford a translation agency." Panda Calendar, which I develop on my own, now supports 60 languages. And the language with the most users isn't Japanese, and it isn't English. It's Spanish.
In this post I'll share a little of what I actually do for Panda Calendar. There are only two things I want you to take away:
- Localization is much easier than you think (you just prepare one file of strings per language)
- If you add just one language, make it Spanish
Localization Is Just "One File per Language"
The Mechanism Is Very Simple
In an Android app, the text shown on screen isn't written directly in the code. It's collected in a file called strings.xml. Localization comes down to preparing that file for each language.
app/src/main/res/
├── values/strings.xml ← English (base)
├── values-ja/strings.xml ← Japanese
├── values-es/strings.xml ← Spanish
├── values-ar/strings.xml ← Arabic
└── ...
Inside, it's just pairs of a "name" and the "text to display." The names are the same in every language; only the text changes.
<!-- values/strings.xml (English) -->
<string name="btn_save">Save</string>
<string name="btn_cancel">Cancel</string>
<!-- values-es/strings.xml (Spanish) -->
<string name="btn_save">Guardar</string>
<string name="btn_cancel">Cancelar</string>
From there, the OS automatically picks the right file based on the device's language setting. You don't need to write any "if Spanish then…" branches in your code. iOS has the same idea with Localizable.strings (String Catalogs), and on the web you can do the same thing with one JSON file per language. In fact, the top page of this site switches languages with files like lang/ja.json and lang/es.json.
Let AI Do the Translating
This is the biggest change the AI era has brought. Creating those per-language files used to be hard. A translation agency costs money, and most of us could translate into English at best.
Not anymore. Hand your English strings.xml to an AI, ask it to "translate this into Spanish," and it will translate while keeping the file format intact. If you also explain what the app is and who uses it, the word choices get much better. An "event" in a calendar app and an "event" in a business document can be different words in some languages.
The key is to never hard-code strings into your code from the start. Follow that one rule, and adding a language is as simple as adding a file. Hunting down hard-coded strings later, on the other hand, is a real chore. When you ask an AI to write code for you, it's worth adding a line like "put all on-screen text in strings.xml."
If You Add Just One Language, Make It Spanish
Panda Calendar's Biggest Language Is Spanish
I took the per-country user numbers from Play Console and mapped each country to its main language (as of August 2026).
| Rank | Language | Share | Main countries |
|---|---|---|---|
| 1 | Spanish | 27.1% | Argentina, Mexico, Venezuela |
| 2 | English | 15.9% | United States, South Africa, Canada |
| 3 | Hindi | 7.7% | India |
| 4 | Arabic | 3.7% | Algeria, Iraq, Morocco |
| 5 | Indonesian | 3.3% | Indonesia |
| … | Japanese | 2.7% | Japan |
Even though the developer is Japanese, Japanese users make up less than 3% of the total. Spanish speakers outnumber English speakers almost two to one. Honestly, I was surprised myself when I ran the numbers.
One Language Reaches Most of Latin America
Spanish's strength is the sheer number of countries that use it. Nine of the twelve countries in South America (Argentina, Colombia, Peru, Venezuela, Chile, Ecuador, Bolivia, Paraguay and Uruguay) are Spanish-speaking. Add Mexico, Central America, the Caribbean, Spain itself, and the many Spanish speakers in the United States.
Just by adding one file, your app reaches people in all those countries as "an app I can use in my own language." In terms of cost versus impact, it's hard to beat.
There is one large South American country that doesn't speak Spanish: Brazil (Portuguese). Add Brazilian Portuguese after Spanish, and you've covered almost all of South America.
English Alone Isn't Enough
People often assume that "if it's in English, the whole world can use it." But for someone who uses their phone in their native language, an English-only app tends to drop off the list right away. Especially for a tool you use every day, like a calendar, being written in your own language matters a lot.
Put the other way around, simply supporting someone's native language becomes a reason to choose your app in that country. Even if the Japanese app store is fiercely competitive, I feel there's still plenty of room in the Spanish-speaking world for a carefully made indie app to avoid getting buried.
Small Tips I Learned Along the Way
Here are a few pebbles I stepped on while expanding Panda Calendar to 60 languages. You don't need to worry about them at first, but knowing them will save you trouble later.
1. Mark Strings That Shouldn't Be Translated
For strings that are the same in every language, such as URLs or color codes, add translatable="false". When you ask an AI to translate, it can see at a glance what to leave alone, and you avoid accidents like your URL getting translated.
<string name="policyURL" translatable="false">https://pandaz.work/...</string>
2. Number Your Placeholders
Sentences with embedded numbers, like "3 of 5 events created," change word order from language to language. Write placeholders with numbers, like %1$d and %2$d, instead of plain %d, and they'll display correctly even when a translation swaps their order.
<string name="recurring_event_partial">%1$d of %2$d events created (partial)</string>
3. Watch Out for Apostrophes (French, Italian)
In Android string files, a bare ' causes a build error. French text like l'heure has to be written as l\'heure. If a file translated by AI won't build, check this first.
4. Missing Strings Fall Back to English
Any string missing from the Spanish file is automatically taken from the base English file. That means you don't have to finish translating everything before you ship. You can translate the main screens first, release, and fill in the rest gradually. In exchange, the golden rule is to always keep the base English file complete.
5. The Option of a "Hybrid Translation"
Panda Calendar's Japanese version turns tip 4 to its advantage. Even though Japanese is my native language, the Japanese version isn't fully translated.
| In Japanese | Left in English |
|---|---|
| Screen and dialog titles, explanations, error messages, names of weekdays and months | Buttons like "Save" and "Cancel," names of settings |
Buttons and short labels are easy to understand even in English, and forcing a translation can make them too long to fit on screen. Explanations and error messages, on the other hand, nobody wants to read unless they're in their own language. So I decided to "translate only the text people actually read." Languages whose speakers tend to be comfortable with English, such as Swedish, Danish, Norwegian and Finnish, follow the same approach.
That said, things people see often or that I want them to tap, like the view switcher (month, week, day) or the button that unlocks a feature by watching an ad, are translated even though they're short. It doesn't have to be all or nothing: you can decide "how much to translate" for each language. Thinking of it that way makes localization even more relaxed.
Summary
- Localization is really just "a strings file per language." Your code barely changes
- AI can do the translating. The most important thing is not to hard-code strings from the start
- Make Spanish your first extra language. It reaches 9 of South America's 12 countries, plus Mexico, Central America, Spain and the United States
Now that AI has lowered the bar for development, the difference between "building a Japanese app" and "building an app the whole world can use" is just a few files. If you're going to build something anyway, why not make it an app that reaches someone's everyday life on the other side of the planet?
¡Buena suerte! I hope your app gets used in many languages.
Bonus: Saving Tokens When Translating
With 60 languages, tokens (your AI usage) add up every time you ask an AI to translate. The basic idea behind how Panda Calendar saves them is simple: let the AI do only the thinking about translations, and leave reading and writing files to scripts.
Don't Make the AI Open 60 Files
If you have the AI open and edit all 60 strings.xml files every time you add a string, it reads and writes every file each time, even though you only wanted to add a few lines.
Instead, I have the AI write just "the string name and its translation for each language" in a form like the one below. Inserting that into every language file is a small script's job. All the AI writes is the translations themselves.
TRANSLATIONS = {
"new_feature_title": {
"en": "New Feature",
"es": "Nueva función",
"ja": "新しい機能",
# ... all languages
},
}
When Fixing, Pull Out Only That String
The same idea applies when fixing an existing string. A script pulls just the strings to be fixed out of every language into one file, and the AI reads and fixes only that. Writing it back is also the script's job. The AI never reads the unrelated strings at all.
Rework Costs Tokens Too
Rework is easy to overlook. A missing apostrophe escape breaks the build, the AI hunts down the cause and fixes it, and that back-and-forth uses tokens too. Escaping is done automatically by the script, and checking "did it reach every language?" is done by a script that counts entries. I don't have the AI read every file just to check the result.
How Much Does It Save? (I Actually Tried It)
To back the numbers with something real, I actually tried it. I copied Panda Calendar's 62 strings.xml files into a scratch folder and used Claude Code (Claude Opus 5.5) to add one sentence, "Long-press a date to add an event quickly," to every language in two different ways. The token counts come from Claude Code's session log.
- A: The AI opens and reads each language's
strings.xml, then adds one line - B: The AI writes a script containing a dictionary of translations for all 62 languages, then runs it to insert them into every file
I actually did A on two files, English and Spanish. Just opening one file took about 22,000 tokens, and adding the line took about 300 tokens per file. For B, writing the script took about 3,200 tokens, and about 3,300 tokens including running it and checking the result.
The figure for doing A on all 62 files is calculated by applying the ratio measured on those two files (about 2.4 characters per token) to the 62 files' total of about 3 million characters.
| Approach | Tokens used to add one sentence to 62 languages |
|---|---|
| A: AI opens each file and adds the line | ~1.28 million (calculated from 2 measured files) |
| B: Write only translations; a script inserts them | ~3,300 (measured) |
That's about 1/390 per run. Note that I counted only what was newly read and written.
How Much Has Panda Calendar Saved So Far?
Panda Calendar has added more than 300 strings to every language so far. Let's simply multiply the per-run difference above by 300.
| Approach | Adding 300 strings (simple calculation) |
|---|---|
| A: AI opens each file and adds the line | ~380 million tokens |
| B: Write only translations; a script inserts them | ~1 million tokens |
The difference is about 380 million tokens. That said, this assumes today's file sizes and one string at a time. In reality, each script added about 5 strings on average, and a script averaged about 12,000 characters (about 6,000 tokens). Even compared against those real scripts, A is about 200 times larger. Older files were smaller than today's, but even if we assume half of today's size, it's still more than a 100-fold difference.
In short: keep what the AI reads and writes to only what's truly needed. Set up the scripts once at the start, and they keep paying off. And of course, you can have the AI write those scripts too.