.php

Translate PHP language files online, free

Paste or upload a Laravel-style PHP language file, choose a target language and download a translated file with the same keys and nesting.

No account, no email, no credit card — up to 25 strings per file.

Accepted: .php — up to 256 KB.

Your file is translated and then discarded. We never store it in a project or train anything on it.

How this tool handles your PHP array file

Laravel, CakePHP and plenty of other PHP applications keep their copy in files that return a nested array. This tool reads that array without executing the file, translates the values and writes a clean, ready-to-require language file.

1

Your file is parsed, not guessed at: keys, structure and anything untranslatable are identified first.

2

The strings are translated by an LLM told it is working on software copy, so button labels stay short and placeholders survive.

3

The file is rebuilt in the same format, ready to drop back into your project.

Frequently asked questions

Is my PHP file executed?

No. The file is tokenized and read as text, never included or evaluated — pasting a file into this tool cannot run any code.

Are nested arrays supported?

Yes. Nested groups are read with their full key path and rebuilt with the same nesting in the output file.

What about :placeholders?

Laravel-style :name placeholders are part of the string and are preserved. Check them in the preview before shipping.

When one file is not enough

A free account keeps your keys in one place across releases, translates whole files at once, applies your glossary and tone of voice, and marks every AI suggestion for review before it ships.

Start for free

500 keys free forever. No credit card.