Quick Start
The fastest way to add multiple languages to your Vue, Nuxt, React, or Next.js app
Why Stringer?
Want to add more languages to your Vue, Nuxt, React, or Next.js app? This is normally a complex, time-consuming task. Stringer is the simplest way to do it. It automates the entire process, so you don't need to know anything about localization or i18n. Stop the headaches and start growing your audience.
TL;DR: Stringer makes adding new languages to your app a breeze! (Seriously, it only takes a few minutes).
Step 1: Install Stringer CLI
Step 2: Commit Your Changes
Heads up: Stringer will modify your code to add the translations. Please commit any unsaved changes to Git before you start.
Step 3: Run Stringer
In your terminal, navigate to your project's root folder and run the stringer command:
Step 4: Start the Convert Flow
Start the convert flow and follow the prompts. You'll see Stringer magically find all the user-facing text in your app and prepare it for translation.
Step 5: Choose Your Languages
When the conversion is complete, just choose the languages you want to add.
For a full list of supported languages, view all 47 languages here.
Step 6: Add the LangSwitcher Component
Next, use the "Add LangSwitcher component" option in the CLI. This will add the language switching component directly into your project for you.
Step 7: Use the Component
Now you can use the <LangSwitcher /> component anywhere in your app to let users select their preferred language.
Step 8: Add URL-based Routing (Optional)
For better SEO, select the "Add URL-based i18n routing (experimental)" feature. This will add the language code to your URLs (like /en-us/ or /ko-kr/).
This feature is stable for most projects, and you can easily turn it off later if needed. Just return to the same CLI option you used to remove it again.
Troubleshooting URL-based Routing
Note: Occasionally, the URL-based routing can conflict with your project's existing middleware, causing 404 errors or redirect loops. Don't worry, we have a powerful, one-click solution!
Just run the Advanced → Repair URL-based i18n Routing command. Our AI will analyze and fix your middleware for you.
If you still have issues, reach out on Discord or send feedback via stringer-cli.com/user-feedback.
How Much Does It Cost?
Free to Try
Pay As You Go
Next Steps
- Introduction — Learn more about what Stringer does
- Commands — Explore all available CLI commands
- Frameworks — Framework-specific setup guides
- Languages — View all 47 supported languages