Translate Your PHP Project

Localize your PHP project, enabling your content to reach more people in more languages within a matter of minutes.

Add Multilingual Support to Your PHP Project with Localize

Translate your PHP project automatically — no plugins, frameworks, or manual setup required. Localize detects and translates your content in real time, helping you reach a global audience effortlessly.
Auto detect new content for translation
Utilize MTs, your translators, or our LSP's
Support for numerous language pairs

Localize vs react-i18next and react-intl

React-i18next and react-intl are popular open-source libraries for internationalizing React apps.
They give developers precise control, but every string needs to be wrapped in code,
every language needs its own resource file, and translation updates usually mean a new build.

Localize handles translation at runtime, so your team doesn't have to manage string extraction or translation files.
React-i18next / react-intl
Localize
Setup
Install the library; wrap strings in t() or<FormattedMessage>, configure locales
Paste one JavaScript snippet
Translation files
JSON or message files per language, kept in your repo
None. Content is managed in the dashboard
New or changed strings
Extract, send to translators, merge, redeploy
Detected automatically as they render
Dynamic content
(Dynamic generation source)
Not handled natively and must be translated as content is detected
Detected when it renders
Who manages translations
Mostly developers
Anyone on the team, in a no-code dashboard
Translation sources
Depends on how you translate your content
AI translation, human translators or language service providers
Deploying Changes
Done via your CI/CD
Automatic from our snippet

Which should you choose?

Choose a library if you want every string defined in code and have engineering time for ongoing i18n maintenance.
Choose Localize if you want to launch new languages in days and let non-developers manage translations.

Get up and running with the React integration guide, the developer docs and live customer support.
Setup

Add Localize to your react app in 3 steps

How the React Integration Works

Step 1

Paste our snippet into the <head> of your index.html or layout file.

Replace YOUR_PROJECT_KEY with the key from your Localize dashboard. See the full list of options in our Library API docs.

Step 2

Let users switch languages from your own React component.

Localize ships a built-in language widget. If you want the switcher to match your design system, call Localize.setLanguage from any component.

Step 3

Load your app and approve phrases. Open your app, choose a target language, and browse your pages.

Localize picks up new content as it renders and sends it to your dashboard. You approve the phrases there, and they go live in your app without a redeploy.
Q&A

Frequently Asked Questions

How does Localize integrate with PHP websites?

Localize connects through a simple JavaScript snippet that detects and translates visible content on your PHP site automatically — no code changes or additional dependencies needed.

Can I translate dynamic content generated by PHP?

Absolutely. Localize detects dynamically rendered text from PHP templates and ensures it’s translated in real time, even for frequently updated pages.

Can I control or edit translations?

Yes. You can use Localize’s AI-powered translations for quick results or invite your own translators to review and refine content directly in the dashboard.

Join the 40,000+ Users Who Trust Localize to Power Translations

Ready to translate your website and content faster?

Talk to an expert today to find out how you can translate your website in minutes, not months.