🐇

Directus Localization

Deploy your multilingual content fast with the Directus localization plugin. Integrate in minutes and start pushing localized versions of your websites or apps.

Your multilingual website, quick like a bunny 💪

Your multilingual website, quick like a bunny 💪

Get the Directus localization plugin to streamline your website localization process with advanced tools and features, ensuring easier translation management, quality, and collaboration. 

Directus is powerful – take it to the next level 🚀

Use Localazy to reduce hurdles in your localization process when using Directus. With flexible, user-friendly options, you can personalize your workflows in the most efficient way. 

Frequently Asked Questions

The Directus localization plugin by Localazy allows you to synchronize your content with Localazy and translate it with available tools. You can manage your language versions separately in Localazy and import new content for translation as you add it seamlessly without manual copypasting or file importing.

The plugin can be installed via NPM. Run npm i @localazy/directus-extension-localazy in the root of your project.

Once installed, navigate to Settings -> Project Settings -> Modules and enable the Localazy module.

Remember to sign up for Localazy and activate the Autopilot plan.

Learn more about the Directus localization plugin in the docs.

Last updated: 15/09/2023

Before you start localizing your Directus project, you need to use the correct version and prepare your instance to support translated content.

  1. Ensure you run the project on Directus v10.10.0 or above.
  2. Ensure that your Directus instance is prepared for localization. You must have a languages collection and use the translations field type for translatable content.

You can read more in the Directus content translations guide in the official docs.

Last updated: 26/09/2024

Yes, you can automate the export process by installing the Localazy Automation extension.

After installation, check the Deletion options in the Additional Setup section of the Localazy plugin to ensure that the “Automated Upload to Localazy” and “Automated Deprecation of Localazy Source Keys” options are enabled. This setup will allow automatic content updates, reducing the need for manual intervention.

Last updated: 26/09/2024

To set up Directus for a multilingual site, follow these steps:

Installation and Configuration: #️⃣

  • Ensure that you have Directus installed and properly configured in your project.

Collection Setup: #️⃣

  • Create a new collection or modify an existing one to support translations.
  • Decide which collections need multilingual support (e.g., articles, products, pages).
  • Add a language field to your collection. This field will store the language code (e.g., “en” for English, “fr” for French).

Language Field Configuration: #️⃣

  • Customize the language field to match your project’s requirements.
  • Consider adding additional fields for language-specific content (e.g., “title_en” for English titles, “description_fr” for French descriptions).

Fetching Content: #️⃣

  • Use the Directus API to fetch content in the desired language based on user preferences. When a user selects a language, retrieve the relevant content from the collection.

Content Translations Guide: #️⃣

Last updated: 26/09/2024

To synchronize translated languages between Localazy and Directus, you have several options that you can find in the Additional Settings of the plugin:

Create Non-Hidden Missing Languages in Directus: #️⃣

  • Only creates languages in Directus that exist in Localazy and are not hidden.
  • This option ensures that only visible languages are synchronized.

Create All Missing Languages in Directus (Including Hidden Ones): #️⃣

  • Creates all languages that are missing in Directus, including those hidden in Localazy.
  • Use this option if you want to synchronize all languages, regardless of visibility.

Don’t Create Missing Languages in Directus: #️⃣

  • Missing languages are not synchronized automatically.
  • If you need to support such languages in your Directus project, manually add them to the languages collection.
Last updated: 26/09/2024

When dealing with content variations across languages, consider the following:

  • Use localized fields to store language-specific content (e.g., “title_en” for English title, “title_fr” for French title).
  • Implement fallbacks to display default content if a translation is missing.
  • Regularly update translations as your content evolves.
  • For advanced scenarios, explore custom hooks or middleware.

Learn more from the Directus Content Translations Guide.

Last updated: 26/09/2024
🏁 Ready to try Directus Localization in your project?

Start your 14-day trial now to see Localazy in action! 👀

Sign up now

A friendly environment for our translation team

"As a dashboard engineering manager, I use Localazy to create a friendly environment for me and my translation team. If I have to recommend a tool to handle translations, I will talk about Localazy for sure!"

User avatar
Alexandre Philibeaux Engineering Manager
Company logo
Learn more

Well designed tool with many features!

"We operate multiple complex websites with many languages. Before we switched to Localazy, managing and keeping all dictionaries up-to-date was pure hell. We can now easily review, manage, and keep all dictionaries up-to-date whenever we add or modify any functionality."

User avatar
Filip Kotora CTO RAILVIS
Company logo

Very powerful translation system with affordable cost!

"We looked for a solution that can cover several use cases across our project, and Localazy is a clear winner. Thanks to CLI tools, git and branching, and features, we could integrate Localazy with GitHub Actions for automated documentation translation delivery."

User avatar
Yuriy Andamasov CEO VyOS Inc
Company logo

Localazy greatly simplified the translation flow!

"We would recommend Localazy very much, especially for businesses with their own translation teams. It greatly simplified the translation flow."

User avatar
Adéla Flejšarová IT Project Manager at Mixit
Company logo
learn more

Localazy helped us streamline the localization process for 27 languages!

"Localazy has significantly streamlined our localization process, making it more efficient and organized. The ease of collaboration and the clear tracking of translation progress have been instrumental in improving our workflow."

User avatar
Manuel Radenkovic Managing Director of Behires Services GmbH
Company logo
learn more

Very easy to use

"The ease of use is splendid. Localazy's UI is simple, clean, and intuitive, and the price/performance ratio is unbeatable. It's an easy-to-use-and-set-up localization tool with E2E capabilities."

User avatar
Martin Uher CTO at Investown.cz
Company logo
learn more

Our developers love the set-and-forget philosophy of Localazy!

"Localazy is a really user-friendly platform. We enjoy combining our in-house people, automated professional translations, and crowdsourcing the translations from the community in one project without too much management needed to make everything work."

User avatar
Lukáš Tóth Product Manager at Rouvy
Company logo
learn more

Good pricing, good UI and ultimately does its job

"I'd recommend Localazy to other peers in my industry. It offers good pricing, has a good UI and ultimately does its job. Being able to find missing translations and easily use machine translations is very smart."

User avatar
Lasse Melbye CTO & Co-Founder at Customers 1st
Company logo
learn more

The customer care is awesome!

"Adding Localazy to our workflow was really easy. We appreciate the simplicity, as well as the ability to use keyboard shortcuts to speed things up. And the customer care is awesome, which we love."

User avatar
Mário Roženský CEO of SupportBox
Company logo
learn more

Works like a charm!

"Localazy helped us improve our translation workflow significantly. The UI is super easy to use, the toolset is awesome, and the integration into Laravel works like a charm!"

User avatar
David Jardin Founder of djumla
Company logo
learn more

Makes localization much easier

"If you don't want to manage the pain of translation keys, files, and flows, you certainly need to consider Localazy. You'll be able focus on your product and not on locale configurations."

User avatar
Agustin Cavilliotti Founder of Donar Online
Company logo
learn more

Super easy to manage

"Once implementation is completed, Localazy is a really easy platform to adopt and function with."

User avatar
Nicolas Manfredini CEO & Founder of Winalist
Company logo
learn more

A godsend for our developers

"Localazy streamlined our translation workflow and made our developers' lives easier. Now they can focus on developing rather than keeping track of translations."

User avatar
Anton Bremer Co-founder of Dawn Patrol
Company logo
learn more
Convinced? Let's get started!

🚀 Try Directus Localization with your actual content. 🗒️

Try it now