We’re excited to announce a new feature that brings greater flexibility to your GitHub, GitLab, Azure, and Bitbucket integrations! Now, when you send translation files from Transifex to a Git repository, you can define the mode of the translation file you’ll retrieve. This means you have more control over how translations are pushed to your repository, allowing you get content based on its translation status in Transifex.
Why is this important?
By selecting the desired mode, you can control which translations are included in the PR/Commit sent to your repository for review and approval. Whether you want only the translated strings or specific translation-mode files, this customization allows you to tailor the content that appears in each commit. This provides your team with greater control over the merge process, ensuring that the right content is reviewed, reducing unnecessary clutter, and making it easier to focus on what truly needs attention. Ultimately, it streamlines your workflow, improves efficiency, and ensures a more accurate and focused review process—saving time and reducing the risk of errors.
Example Scenario
Here’s how you can set it up in the YAML Config file:
filters:
- filter_type: file
file_format: YML
source_language: en
source_file: test.yml
translation_files_expression: 'Translations/target_<lang>.yml'
mode: onlytranslated
Be sure to check out our Help Center for full details on each translation file download mode and file format specifications!
We hope this feature helps make your Git-based workflows smoother and more efficient when handling translations. As always, we welcome your feedback!