.php โ† supported

Translate PHP Lang Files.
Keys Always Intact.

Upload your Laravel or WordPress PHP language file. Every string value is translated and written back exactly where it was โ€” same keys, same nesting, same :placeholders. Drop it straight back into your project.

๐Ÿ”‘ Keys never touched ๐Ÿ˜ Laravel & WordPress ๐ŸŒ 100+ languages

From $4.99 ยท 5,000 words ยท No subscription

๐Ÿ”‘
Keys
never touched
๐Ÿ˜
Laravel & WP
ready to import
lang/en/messages.php Ready
<?php
return [
'welcome' => 'Welcome back!',โœ“
'save' =>    'Save changes',โœ“
'login' =>   'Sign in',โœ“
'404' =>    'Page not found',โœ“
];
Ready to translate 0%
๐Ÿ˜ fr.php Download โ†“
๐Ÿ”‘
keys preserved
100+
target languages
โˆž
nesting levels
4
AI engines
3 Steps

Upload once. Every locale ready.

No key editing. No structure changes. No broken imports.

01

Upload Your .php File

Drop in any PHP language file using the return [...] format. We parse the full structure โ€” nested arrays, all string values โ€” while leaving every key, number, boolean, :placeholder, and null exactly as-is.

.php
02

Pick Your Target Languages

Choose your target locales. All string values translated in parallel. Same price per word regardless of how many languages you pick.

๐Ÿ‡ช๐Ÿ‡ธ ES ๐Ÿ‡ซ๐Ÿ‡ท FR ๐Ÿ‡ฉ๐Ÿ‡ช DE ๐Ÿ‡ฏ๐Ÿ‡ต JA
03

Download โ€” Drop Into Your Project

One .php per language. Same structure, same keys, same nesting. Place it in your lang/ directory and you're done โ€” no code changes.

lang/fr/messages.php lang/de/messages.php
Structure Guaranteed

Only the values change. Everything else stays.

Keys, nesting, arrays, :placeholders, numbers, booleans, and null โ€” all pass through untouched.

Your file
๐Ÿ˜ lang/en/messages.php
<?php return [ 'hero_title' => 'The platform teams love.', 'hero_sub' => 'Ship faster, together.', 'greeting' => 'Hello, :name!', ];
โœ“ After DocTranslate.AI (FR)
๐Ÿ˜ lang/fr/messages.php
<?php return [ 'hero_title' => 'La plateforme que les รฉquipes adorent.', 'hero_sub' => 'Livrez plus vite, ensemble.', 'greeting' => 'Bonjour, :name !' โ† :name safe ];
๐Ÿ”‘
Keys
Array keys never modified, exactly as written in the original
{}
Nesting
Nested arrays preserved recursively, any depth
:x
Placeholders
The AI is instructed to leave :name, :count and similar patterns untouched โ€” only surrounding text is translated
๐Ÿ”ข
Non-string values
Numbers, booleans, and null pass through exactly as-is
๐Ÿ”ค
Key order
Insertion order maintained throughout the output file
๐Ÿ“„
PHP header
Valid <?php return [...]; output, UTF-8, ready for require()
Who uses this

Built for everyone shipping PHP to production

๐Ÿ—๏ธ

Laravel Applications

Translate your lang/en/ directory into every locale your app needs. All :placeholder, pluralization, and nested keys preserved.

lang/en/auth.php โ†’ fr ยท de ยท es
๐Ÿ”Œ

WordPress Plugins

PHP language arrays used in many WP plugins and themes. Translate your string arrays and import back โ€” no changes to your plugin code.

languages/plugin-en.php โ†’ 10 locales
๐Ÿ›’

E-commerce (WooCommerce, Magento)

Product names, checkout strings, error messages โ€” bulk translate PHP locale exports from your storefront.

checkout_strings_en.php ยท 800 strings
๐Ÿ“ฆ

Symfony & Other Frameworks

Any PHP framework using return array() or return [] translation files is supported. Upload, translate, drop back in.

translations/messages.en.php
๐ŸŒ

SaaS & Multi-tenant Apps

Launching in a new market? Translate your full PHP lang directory in minutes โ€” all tenant-facing strings, every locale.

lang/en/ โ†’ 15 locales in one job
๐Ÿ“ง

Email & Notification Templates

Transactional email strings stored as PHP arrays โ€” translate subject lines, body copy, and CTAs across all languages at once.

emails_en.php ยท :name, :amount safe
AI Engines

You pick the AI.
We preserve the keys.

Match the engine to your content โ€” marketing copy, app strings, or high-volume technical text.

Claude

Best quality

Ideal for marketing copy, creative content, and UI strings where tone matters.

ChatGPT

Fast & reliable

Great all-rounder for app strings, error messages, and product descriptions.

DeepL

European languages

Industry standard for DE, FR, ES, IT, NL locale files.

Google

Maximum coverage

100+ languages. Best for APAC and rare language pairs.

FAQ

Common questions

๐Ÿ˜

Your PHP lang files.
Every locale.
Zero key changes.

Plans from $4.99. 5,000 words. No subscription required.

One-time purchase ยท Credits valid 1 year ยท No subscription