Uploading Files for Localization

Once you create a project, you can add your content for translation. Make sure your localization resources are externalized, as you don’t want translators looking for localizable content between multiple lines of code. Crowdin supports a wide range of file formats, that are used for content localization.

You can add new files via user interface (UI), using our RESTful API, or console client (CLI) to automate file sync with Crowdin. You can also connect Crowdin Enterprise with your repository on GitHub, GitLab, or Bitbucket.

Invite developers to your project, so they can help you with integration set up and file sync automation. Make sure they have manager permissions, so they can access source files, integrations, and API.

Uploading Files

To upload source files, open the Project Page and go to Content > Files.

Upload Files

XML, CSV, and XLSX Files

Files in XML, CSV, and XLSX formats require additional configuration. When uploading these files you’ll have to configure the file structure and specify the content type stored in each row.

Note: The size of XLSX/XLS file is limited up to 1 000 000 cells. The file that contains up to 330 000 cells will be processed with original formatting styles. The file that contains from 330 000 to 1 000 000 cells will be processed with cleared formatting styles.

HTML Files with Relative URLs

To display images and styles in HTML files used outside of the website, where they belong, add the <base> tag to specify the base URL/target for all relative URLs in the document.

<html>
<head>
  <base href="https://www.w3schools.com/images/">
</head>
<body>

<p><img src="stickman.gif" width="24" height="39" alt="Stickman"> 
<br> Please note, that we specified only the relative address for this image. Since we have specified a base URL in the head section, the browser will look for the image at "https://www.w3schools.com/images/stickman.gif".</p>

</body>
</html>

Once you add the <base> tag, translators will be able to see images in the HTML files when working in the Editor.

HTML file with a base tag dislayed in the Editor

Was this article helpful?