Everything you need to know about working with HTML files and how to handle them in Phrase.
HTML is used in a lot of contexts. While web development moved away from static HTML files, HTML content is still present, e.g. in the form of emails. In Phrase you can upload your HTML files, translate them through our Translation editor, and put them back together based on the originally uploaded file.
Uploading HTML documents
Uploading HTML documents to Phrase is as easy as uploading any other file format, just navigate to More -> Upload file in your project.
Preview HTML documents before import
After you hit Import you will land on a preview, where you can view the strings we automatically extracted from your file. If you don't mind key names or working with keys in the case of translating html documents, you can just click Continue to be redirected to the Translation Editor immediately and use the unique ID we generated for this. However, this is a good opportunity to either search for existing keys and connect them (see email.paragraph) or create new custom key names.
During the process you can review the structure of your source file instead. Just click Show source file to do so.
By clicking on Edit Key you can open the key settings to configure it further, e.g. by adding tags or a character limit to it.
Translate HTML documents
Once you have uploaded your file you can translate your document in the Translation Editor, where you will find the keys you created during the upload process.
Download translated HTML documents
When you finished translating , you can of course download your translated HTML document. Go to the Languages tab in your project and use the Download button on your desired language. There you have to select the format (HTML) and subsequently the document you wish your download to be based on.
Or go to the Documents section (More -> Documents) click on Download next to a specific file and simply select the language.