SyliusCon 2025
Early Bird Deal
LogoLogo
πŸ›£οΈ RoadmapπŸ’» Sylius DemoπŸ’¬ Community Slack
  • Sylius Documentation
  • Sylius Plugins
  • Sylius Stack
  • πŸ“–Sylius 2.0 Documentation
    • Organization
      • Release Cycle
      • Backwards Compatibility Promise
      • Sylius Team
      • Sylius Roadmap
  • Getting Started with Sylius
    • Installation
    • Basic Configuration
    • Shipping & Payment
    • First Product
    • Customizing the Shop
    • Customizing Business Logic
    • Using API
    • Installing Plugins
    • Deployment
    • Summary
  • The Book
    • Introduction to Sylius
    • Installation
      • System Requirements
      • Sylius CE Installation
        • Sylius CE Installation with Docker
      • βž•Sylius Plus Installation
      • Upgrading Sylius CE
      • Upgrading Sylius Plus
    • Architecture
      • Architecture Overview
      • Architectural Drivers
      • Resource Layer
      • State Machine
      • Translations
      • E-Mails
      • Contact
      • Fixtures
      • Events
    • Configuration
      • Channels
      • Locales
      • Currencies
    • Customers
      • Customer & ShopUser
      • βž•Customer Pools
      • AdminUser
      • Addresses
        • Countries
        • Zones
        • Addresses
        • Address Book
    • Products
      • Products
      • Product Reviews
      • Product Associations
      • Attributes
      • Pricing
      • Catalog Promotions
      • Taxons
      • Inventory
      • βž•Multi-Source Inventory
      • Search
    • Carts & Orders
      • Orders
      • Cart flow
      • Taxation
      • Adjustments
      • Cart Promotions
      • Coupons
      • Payments
      • 🧩Invoices
      • Shipments
    • Support
    • Contributing
      • Contributing Code
        • Submitting a Patch
        • ⚠️Security Issues
        • Coding Standards
        • Conventions
        • Sylius License and Trademark
      • Contributing Translations
      • Key Contributors
  • The Customization Guide
    • Customizing Models
      • How to add a custom model?
      • How to add a custom translatable model?
    • Customizing Forms
      • How to add a live form for a custom model?
    • Customizing Styles
    • Customizing Validation
    • Customizing Menus
    • Customizing Templates
    • Customizing Translations
    • Customizing Flashes
    • Customizing State Machines
    • Customizing Grids
    • Customizing Fixtures
    • Customizing API
    • Customizing Serialization of API
    • Customizing Payments
      • How to integrate a Payment Gateway as a Plugin?
  • πŸ§‘β€πŸ³The Cookbook
  • How to resize images?
  • How to add one image to an entity?
  • How to add multiple images to an entity?
  • Sylius 1.X Documentation
    • πŸ““Sylius 1.x Documentation
Powered by GitBook
LogoLogo

Developer

  • Community
  • Online Course

About

  • Team

Β© 2025 Sylius. All Rights Reserved

On this page
  • πŸ“ Where Translations Live
  • Use the GitHub UI
  • Optional: Contribute via Local Setup
  • Translation Guidelines

Was this helpful?

Edit on GitHub
  1. The Book
  2. Contributing

Contributing Translations

Sylius supports multiple languages, and we rely on the community to help maintain and improve translations. Even small contributions, like fixing a typo or translating a new string, can make a big impact for users around the world.

πŸ“ Where Translations Live

Translation files in Sylius follow Symfony’s structure and are spread across many packages and bundles, not just in a single directory.

You'll find them in multiple translations/ directories such as:

  • src/Sylius/AdminBundle/Resources/translations/

  • src/Sylius/ShopBundle/Resources/translations/

  • src/Sylius/CoreBundle/Resources/translations/

  • src/Sylius/ApiBundle/Resources/translations/

Each file is named using the convention:

messages.{locale}.yaml

For example, French admin UI strings live in:

src/Sylius/AdminBundle/Resources/translations/messages.fr.yaml

If unsure where a particular translation string comes from, search the project for the English default key or browse by bundle based on context (e.g., Admin, Shop, API).

Use the GitHub UI

If you're fixing or improving a small number of strings, we strongly recommend using the GitHub interface. This is the fastest, simplest way to contribute translations.

πŸ”§ Step-by-Step: Edit via GitHub

  1. Switch to the proper version branch At the top left of the repository page, open the branch selector and:

    • Choose the lowest supported minor version where your change is missing (e.g., 1.14, or 2.0).

    • This increases the chance your translation will be included in a patch release and propagated upward via merges.

  2. Browse to the translation file Use GitHub’s file browser or press t to search for the path quickly. Translation files live under:

    src/Sylius/*Bundle/Resources/translations/messages.{locale}.yaml

    For example:

    src/Sylius/AdminBundle/Resources/translations/messages.pl.yaml
  3. Click the pencil icon ✏️ to edit GitHub will automatically fork the repo and create a new branch in your account.

  4. Make your edits:

    • Ensure proper YAML syntax (indentation, colons, etc.).

    • Do not translate placeholders like %order_number%.

    • Maintain consistency with existing translations in your language.

  5. Commit your changes:

    • Enter a clear, descriptive commit message (e.g., Add Polish translation for refund reason field).

    • Choose to create a new branch for your commit and start a pull request.

  6. Create your Pull Request:

    • Provide a descriptive title and explanation of your changes.

    • Indicate that this targets the lowest applicable version to assist reviewers.

Optional: Contribute via Local Setup

Translation Guidelines

  • βœ… Be consistent with existing translations in your language.

  • πŸ›‘ Do not translate placeholders like %customer_name% - These are replaced dynamically.

  • ⚠️ Use YAML 1.2 syntax with proper indentation.

  • 🌐 Try to use gender-neutral, inclusive language where appropriate

PreviousSylius License and TrademarkNextKey Contributors

Last updated 11 days ago

Was this helpful?

Go to the Sylius GitHub repository: β†’

🧠 Tip: Check the to identify currently maintained versions.

If you're working on many files or want to test your changes in a running Sylius instance, use the guide for .

https://github.com/Sylius/Sylius
Release Cycle docs
Contributing Code