Migrating Bubble Multilingual Apps: Preserve Translations, Locales and Fallbacks
A translated homepage is not proof that a multilingual migration works. The harder questions appear after a customer signs in, follows an old language-specific link, encounters an error, or opens a screen with an incomplete translation. A replacement can preserve every record and still make the product confusing in a language your customers already use.
When moving a Bubble web app to code, treat localization as a product contract: which language appears, where its text comes from, what happens when text is missing, and which customer choices survive the move. Exporting translations is an input to that contract, not the finished migration.
Start with the language experience, not the library
Before choosing an internationalization library, walk through one important customer journey in each supported language. Include the unhappy path. A checkout might have translated buttons but an English validation message; a workspace might remember its language until the user signs out. Record those differences rather than assuming the settings describe the whole experience.
Separate behavior that must remain from behavior you want to improve. Replacing an unexplained error with a useful translated message is a reasonable improvement, but it should be an agreed change—not an accidental consequence of the new framework. The same applies to changing which language wins when a URL and an account preference disagree.
Bubble to Code’s migration process provides the wider structure for inventory, rebuild and validation. Localization adds a specific acceptance question: can customers still complete the same journeys in their intended language?
Inventory more than the exported app texts
Bubble’s app-text documentation distinguishes static interface strings from dynamic database content. Its Languages reference describes a CSV export with text identifiers, language columns and origins such as core, user and plugin texts. Use that export as a starting inventory, then identify what lives outside it.
Interface messages: navigation, buttons, placeholders, tooltips, empty states and errors.
Dynamic content: product descriptions, articles, customer-entered text and any translated database fields.
Provider-owned screens: payment pages, authentication prompts, embedded widgets and plugin interfaces.
Messages outside the page: notification templates, exported documents and email content.
For each group, record the source, supported languages and who may edit it. A translation file in the new repository will not automatically replace a provider’s language setting or translate customer content. Keep original identifiers in a mapping so a reviewer can trace a new message back to the old interface.
Write a small locale contract
A locale is a language setting that may include regional detail, such as French for Canada. Create a short contract before implementation. It should answer six questions:
Supported choices: which language and regional variants are actually available, and which are intentionally unsupported?
Selection: can the URL, saved account setting, explicit language switch or browser preference influence the choice? Which input wins?
Persistence: is a choice temporary, stored on the account, or remembered only in that browser?
Missing text: should an approved fallback appear, should the action be unavailable, or should publication be blocked until the translation exists?
Presentation: what determines message language, formatting and text direction? Keep currency and time-zone decisions explicit rather than deriving them silently from language.
Ownership: who approves translations and resolves gaps before a release?
Test the existing app’s selection behavior with conflicting inputs. Bubble’s help guide lists a language-selection hierarchy, but the core reference describes the relationship between account settings and URL language differently. Custom workflows can add further behavior. The observed journey and your approved target rule are safer migration requirements than an assumed universal ordering.
Also distinguish an unsupported locale from a missing message inside a supported locale. Bubble documents that an untranslated app text can show “(no translation)”. A new library may instead display a key or a fallback string. Decide the desired result; do not let a library default quietly redefine the customer experience.
Map language codes deliberately
The source and target may not accept the same language-code spelling. For example, JavaScript’s Intl.getCanonicalLocales accepts EN-US and returns en-US, but rejects EN_US. Build an explicit mapping from the codes actually present in your app to validated target tags and supported translation bundles.
Validation is not proof that a translation exists. A structurally valid locale can still be unsupported by your product. Keep a supported-locale allowlist and define what happens to blank, invalid and legacy values. Preserve the original value in the migration mapping so exceptions can be investigated without guessing.
Do not collapse regional variants simply because their labels look similar. Ask whether they contain different wording or product requirements. Conversely, do not invent separate regional experiences when the product intentionally uses one shared translation. The mapping should reflect an explicit product decision.
An illustrative conflict test
Consider a fictional app with English and French interfaces. A signed-in customer has saved French, but opens an old link containing an English language parameter. The team approves this target rule: an explicit language in the link controls that visit; changing the account preference requires using the language selector. This is an example policy, not a recommendation for every app.
The acceptance record should capture the inputs and outcomes: saved preference French; link language English; visible interface English; saved preference still French; next ordinary visit French. Repeat after refresh and after logout. Then test an unsupported language parameter: the agreed fallback should appear without corrupting the saved preference.
Finally, remove one French translation in a test fixture. Check the approved missing-message behavior separately. A test that only confirms the language selector works would miss this failure. Use synthetic accounts and harmless sample content for these exercises, not real customer messages.
Preserve meaning, not just strings
A message assembled from fragments can become grammatically wrong when translated. Unicode’s ICU guidance recommends treating messages as complete units with placeholders, allowing translators to rearrange them and supply language-appropriate plural forms. Do not assume that an English singular/plural pair covers every supported language.
Inventory variable names, counts and embedded links alongside the words. Check zero, one and representative plural counts; missing and long customer names; and messages with more than one variable. Have a qualified speaker review important journeys. Automated checks can find a missing key or placeholder, but cannot establish that the wording is natural or appropriate.
Translation changes should not alter underlying business values. Display formatting, monetary calculation and time-zone conversion are related but separate concerns. Keep their existing acceptance tests rather than assuming that selecting the correct message language proves those behaviors are correct.
Check layout and direction in the finished interface
Longer labels can hide a button or push an error below the visible area. Test narrow screens, dialogs, tables and forms with realistic translated text—not only short placeholders. Check keyboard focus and that the language choice is understandable without already speaking the current language.
For right-to-left interfaces, translating words is not enough. W3C guidance distinguishes the HTML language declaration from text direction: lang does not automatically establish dir. Check the actual layout and mixed-direction content, including email addresses, reference numbers and customer-entered text. Do not mirror every icon mechanically; some symbols describe a fixed real-world direction or action.
Use a release checklist that exposes missing coverage
Every supported locale has an approved mapping, a complete required message set and a named translation owner.
Anonymous visits, login, logout, refresh, old links and explicit language changes follow the agreed selection and persistence rules.
Unsupported locales and missing messages produce intentional, reviewed outcomes—not raw keys or unexpected blanks.
Variables, plural cases, validation errors and provider-owned screens are checked in the critical journeys.
Long text and RTL content remain usable on the supported screen sizes; important wording has human review.
Translation edits made during the rebuild are reconciled before launch, and the team knows how later translation changes reach production.
Define the launch gate around customer consequences. An untranslated legal agreement or payment error may block release, while a low-priority help article might have an approved fallback. Record the decision and owner instead of reporting one misleading percentage for all translated strings.
Bring the exceptions to the migration review
Sources
- 01Bubble’s app-text documentation · Bubble Docs
- 02Languages reference · Bubble Docs
- 03Intl.getCanonicalLocales · MDN Web Docs
- 04Unicode’s ICU guidance · Unicode ICU
- 05W3C guidance · W3C
Keep reading
Bubble to Code is an independent service. Not affiliated with, endorsed by, or sponsored by Bubble Group, Inc.
