PHP · AI Document Translation
Supports translation of PDF, Word, PPT, EPUB and other documents, covering 100+ languages. Preserves original formatting, preview partial translation and pricing first, then decide whether to translate the full text.
Translation and Document Processing
"Preview part of the document before translating the complete file. The preview range depends on the document and your available account credits. If the preview requires credits, the task page will display the cost before you proceed. Layout preservation depends on the file, fonts, and text length. Complex tables, scanned pages, and text in images may require manual review. Please check the partial preview before translating the complete document."
Understand Content, Preserve Usable Document Structure
Array Structure Protection
Layout preservation depends on the file, font, and text length. Complex tables, scanned pages, and text in images may require manual review. Please check the partial preview before translating the complete document.
Code Logic Isolation
Intelligently recognizes PHP tags `<?php ... ?>`. For function calls, logical judgments, and variable assignments, we achieve strict isolation to ensure the code has no syntax errors.
Dynamic Variable Locking
Automatically identifies and protects variables in strings (such as `$name`) and formatting placeholders (such as `%s`), ensuring that functions like `sprintf` work properly.
HTML Mixed Support
PHP files typically contain HTML code. We can accurately distinguish and translate text within HTML tags while protecting PHP code blocks.
Batch File Processing
Supports uploading the entire `lang` directory, maintaining file structure, and outputting translated versions of all language files at once.
Escape characters are preserved.
Can correctly handle escape characters in single and double quotes (such as `\n`, `\'`), ensuring that the translated strings can be properly parsed in PHP.
Why does format matter?
- Precise formatting is the hallmark of professionalism.
- Reduce secondary formatting time.
- Ensure accurate and precise information delivery.
Core translation scenarios
Reliably meeting every translation scenario
WordPress Themes / Plugins
Supports translation of theme `.php` language files or hard-coded text. Quickly release multilingual versions to reach a broader user base.
Laravel / Symfony Applications
Batch translate PHP array files under the `resources/lang` directory, preserve interpolation variables, and generate multilingual language packages with one click.
Legacy System Maintenance
Quickly localize or translate hard-coded prompt messages in legacy PHP systems without refactoring code, achieving low-cost localization.
Translation FAQs
Preview part of your document before translating the full file. The preview range depends on the document and your available account allowance. If a preview requires credits, the task page shows the cost before you continue.
Translation is billed in credits based on Tokens, a document analysis fee, and the selected mode. OCR and higher-tier models can change the cost. Check the task quote before confirming payment.
Unpaid documents are automatically deleted 15 days after task creation, and paid documents after 30 days. Download and back up your original and translated files before the retention period ends. You can also delete a task from your translation history.
Translate PDF, Word, PowerPoint, Excel, EPUB and other supported formats, with files up to 1GB. Check the full format list for the document you want to translate.
Translate between 100+ languages. See the available languages and choose your target language on the document translation page.
Yes. OCR reads text from scanned PDFs and images for translation. Recognition depends on scan quality and layout; use enhanced recognition for difficult pages and check the preview for missing or misread text.
Choose a standard or higher-tier model to suit your document. Check terminology, tone, and layout in a partial preview, then choose a mode for the full translation based on your needs and the quote. Any preview credits are shown on the task page.
Your document is processed to provide the translation, including by the selected third-party AI provider. Review our privacy policy for details about processing and retention.
Preview and Quote First
Preview part of your document before translating the full file. The preview range depends on the document and your available account allowance. If a preview requires credits, the task page shows the cost before you continue.
Upload to preview