QA Checks
QA Checks

File name localization Free

Author Crowdin
Compatible with
  • Crowdin Enterprise

File name from the source text localization.

  • Returns a message with the mismatch of file names in translation.
  • Configuration:

<0>ignoreMassive</0> - The list of the file names that should be translated.

<0>yourTargetFileNames</0> - The list of the translated file names for each target language.

To add the custom QA check, please follow these steps: 

1. Go to Organization Settings

2. Click Add-ons on the right menu and choose Custom QA checks. 

3. Click Create Custom QA Test

4. Provide the details of the custom QA check in the required fields: 

  • Name – name your custom QA check in clear terms, so the translator can understand what should be corrected in translation
  • Description – explain what custom QA check corrects or verifies
  • Code Snippet – provide the Javascript-based code snippet to make the QA check work. It includes a crowdin object and a number of properties. To create the code snippet, use the following structure:

object crowdin { 

 string sourceLanguage, 

 string targetLanguage,

 object context { 

  ?int maxLength, 

  ?string pluralForm 


 string contentType, 

 string source, 

 string translation 


Crowdin code snippet has the limitations listed below: 

  • The code is completely sandboxed. Neither browser context nor NodeJS context is available.
  • Standard objects like date, math and similar ones are not available.
  • Crowdin limits the time of running the custom QA check: a user’s code can run up to 100 ms. If the code snippet is too complex or has any mistakes, the custom QA check can be processed longer and will be stopped. In this case, correct the issues and run the check over.

Read the Code Snippet for Custom QA Checks article for more details on how to create your own custom QA checks. 

5. Click Create

6. Enable QA check in Project Settings tab.