Laravel

Integrate Laravel
with Localazy within minutes.

Localize your Laravel app easily with Localazy CLI. Upload PHP files with strings from your Laravel app to Localazy and manage your translations easily. Download translated files back.
Start now
Improved plural support
Do not worry about setting plurals correctly. Localazy supports all plural types from the latest version of the CLDR definition file.
Placeholder detection
Translators will not break your project. Localazy prevents errors by highlighting common and custom placeholder formats.
Advanced dev tools
Utilize the powerful CLI tool, variety of CI/CD options, SDKs, libraries, and more for a great developer experience!
Advanced file conversion options
Make localizable file format conversions a part of your automated workflows with Localazy. Convert your files into 25+ other formats.
Platform-agnostic solution
Localazy respects your codebase structure. No changes to your code are needed to utilize Localazy to its full potential.

Integrate
the way you like it

Use Localazy, a software localization suite & translation management system, to take care of your Laravel localization.

Choose from multiple developer-friendly options to start with Localazy. Integrate your Laravel project the way that suits your workflow.

start integrating

The best option for developers that want to make localization an automated part of their workflow.

Upload your texts and existing translations in any format directly to start quickly.

Add source keys via the web interface online and sync them into your project later.

Use the API to export translations and import content from/to Localazy programmatically.

Tool for all your needs

Hand over the translation work to Localazy Continuous Localization Team to translate your project.
Read article
localization team on autopilot workflow automation
Integrate with your stack 50+ integrations and growing
Empower international growth Agile Localization Platform
Setup & Forget Solution CI/CD integration + automation options
Easy to start and use CLI on Steroids & Intuitive UI

What is your preferred platform?

iOSReactVue.jsAngularJavaScriptJSONFlutterIONICCordovaUnity

Laravel localization

Go to the Localazy signup page and create a free account or log in (if you have already joined our community). Then, name your organization and create a new project.

On the integrations page, select Laravel integration. Copy the piece of code to the clipboard.

In your project root, create a file called localazy.json. This file serves as a config file for Localazy CLI. There are many ways how to adjust the localazy.json file to your needs. Everything is described in detail in our documentation.

For more information, you can also read the article: How to build a multilingual PHP app with Localazy and Laravel

Last updated: 21/03/2023

Here are the basic steps to get started:

  1. Set the Laravel application locale: In Laravel, you can set the application’s locale by modifying the config/app.php file. You’ll need to set the locale value to the language you want to use as the default for your application.
  2. Create translation files: Laravel provides a simple way to manage translation strings by using language files. You can create language files for each language your application supports in the resources/lang directory. The files can be named according to the language code, such as en.php for English or fr.php for French. Or you can use folder structure such as resources/lang/en/welcome.php
  3. Define translation strings: You can define translation strings inside each language file by creating an associative array. For applications with a large number of translatable strings, defining every string with a “short key” can become confusing when referencing the keys in your views, and it is cumbersome to continually invent keys for every translation string supported by your application. For this reason, Laravel also provides support for defining translation strings using the “default” translation of the string as the key.
  4. Use translation strings in views and controllers: In your Laravel views and controllers, you can use the __() function to translate strings. The __() function takes the original string as its argument and returns the translated string based on the current application locale.
  5. Switch locales dynamically: Laravel makes it easy to switch the application locale dynamically. You can use the App::setLocale() method to set the application locale based on user preferences or other factors.

That’s the basic process for localizing a Laravel project. You can use many other advanced features and techniques, but these steps should help you get started.

For more information, visit the official documentation at https://laravel.com/

Last updated: 21/03/2023

Imagine being able to fully automate the localization process using Localazy and GitHub Actions. By “fully,” we mean completely.

Localazy is a localization suite designed specifically for developers that enables you to automate the localization of your Laravel projects. Once set up, you can forget about the hassle of localization forever.

Read the article on our blog and learn how to:

  • Install the Laravel Framework and run your first application
  • Set up your Git repository
  • Prepare your Laravel project for localization
  • Connect it with Localazy and translate it into multiple languages
  • Automate the uploading of strings and downloading of translations with GitHub Actions.

Read the article: Automated Localization of Laravel Projects with Localazy and GitHub Actions

Last updated: 21/03/2023

Read more about Laravel

Trusted by Laravel users

07/18/2020
Simple implementation and you are done
Being a developer, I am amazed & happy to see such a simple, fast and efficient way to Localize your platform. No boilerplate codes, just a simple implementation and you are done.
06/16/2020
Perfect for Android app translations
Perfect for Android app translations. Can't wait until iOS is ready as well.
Evanova Android

Evanova Android

Trustpilot review
06/16/2020
Excellent software
Very nice user interface, very nice people providing support. This is exactly the tool every application's owner wishing translation support needs.
Small Bro Tech

Small Bro Tech

Trustpilot review
06/08/2020
Best App Localization Software
Localazy is definitely the best localization plugin I have found for Android Studio. Simple to integrate, amazing website UI/UX and useful translation services.Absolute essential for every app developer
Flubberlutsch

Flubberlutsch

Trustpilot review
06/05/2020
Very user friendly
Very user friendly, straight-forward interface and a pleasurable translation workflow.
06/04/2020
Amazing translation platform to localize my apps!
I am super impressed by the translation platform provided by Localazy – I didn’t even know that something like this would be possible when I first started looking for localization solutions for my app; but once I’d seen it, I knew that it was something that I definitely had to have. Localazy has made it easy for my apps to add translations, helping me provide a more global audience reach. And the Localazy support team is awesome!
Floating Apps

Floating Apps

Trustpilot review
06/03/2020
Translating Floating Apps with Localazy
I use Localazy to translate my mobile app Floating Apps, that has more than 7 million downloads on Google Play. It works great. I have a lot of contributors and volunteers, and Localazy helps me to keep track of changes and eliminate inaccurate and harmful translations. I no longer need to wait for contributors to translate the app as updated translations can be delivered with OTA updates. Integrating Localazy with their Gradle plugin was quick and easy.
Matteo Magnone

Matteo Magnone

Trustpilot review
05/28/2020
Simply the best translation service
I met Localazy by accident, looking for a way to translate my app in a simple and cheap way. The system is well done, simple and intuitive, plus the integration is really fast! The support service is fantastic, they even modified options to perfectly integrate the system into my app! I love them!
Raghav S

Raghav S

on G2
08/24/2020
"A great automated translation tool for even a non-developer"
I got to know about this product from a friend. They told me that it provides OTA translations, I was in total denial first. But when I first checked it out I was totally in awe. It removes the hassle of adding new languages via each app update. Their prices are also really low.
Ricardo Fiorani

Ricardo Fiorani

11/30/2020
The best tool for managing translations and crowdsourcing translations
I wanted to keep it REALLY simple when it comes to the internationalization of my application, however, handling translations on JSON files turned out to be a big pain. That's why I started searching for translation management tools. Upon analyzing many tools out there, I found Localazy the easiest, the simplest, and fastest tool. Since I want my game to be built close to what my users expect, Localazy stood out with it's "crowd-sourced" way of translation management. Today I completely recommend Localazy to all my friends and their projects.
Henrik B.

Henrik B.

12/22/2020
“Best in class”
It was extremely easy to setup and implement localazy in our development process. We use it with a vue js application and adding languages couldn't be easier.
Jose B.

Jose B.

11/19/2020
“Best of translation for apps”
Used on telegram-bot app
Teo Coding

Teo Coding

on Crozdesk
05/28/2020
"Great translations tool"
It allowed me to translate my app into many languages, by sharing the translations I saved and at the same time my audience grew a lot. Simple and quick to integrate
Martin V.

Martin V.

capterra
01/04/2021
Great for all who needs to have application in multiple languages
Very easy implementation, easy to use & great translation helpers. Very flexible development team & Fast support.
Avishay T.

Avishay T.

capterra
06/23/2021
Nice, fast, efficient
I used it for translating other app from English to Hebrew. It has Amazon built-in translation. Liked it.
Daniel M.

Daniel M.

capterra
07/06/2021
Don't waste your time, get Localazy. 😃
Pretty useful and easy to use, love the features and also the prices. When I came the first time to it, implementation was easy and took just 20 minutes for it.
David M.

David M.

capterra
06/16/2021
Saves you the time and headache of having to set up the translation files
It simplifies the handover process for the clients.
Onofre G

Onofre G

G2
04/09/2021
Everything great so far
It has been a great experience using localazy so far. super proactive support team.
Lukas T.

Lukas T.

G2
06/28/2021
It is the best solution we could ask for
Localazy helps us with translations, localization and even makes our process so much easier.
Vlatka T

Vlatka T

G2
04/01/2021
Great, pleasant and fast experience
Realy fast and easy to understand. I managed to know how to use it in just few minutes. It enabled me to create a multilingual web application with no translation overhead.
Zhicong L.

Zhicong L.

G2
08/05/2021
Best value for a localization tool for small teams!
Localazy has a user-friendly interface that they are constantly improving. Their chat support on every page is continuously monitored, and the team replies exceptionally quickly.
Sahil T.

Sahil T.

Sourceforge
03/01/2021
Automated Translation Tool For Non-Developers
The best thing about Localazy is that it provides OTA translations, it removes all the hassle of adding a new language with each update.
Jan Koštejn

Jan Koštejn

On G2
07/18/2022
Great UX for a boring translation process.
What do you like best about Localazy? I like that we can send localazy projects to non-technical people and let them translate our application without deep knowledge of the technology. The editor is very user-friendly and I have the option to approve the translations. It helps us to keep track of what's translated and what's not.
Agustin Cavilliotti, CTO, Donar Online

Agustin Cavilliotti, CTO, Donar Online

On G2.com
05/27/2022
Thanks to Localazy we're able to quickly and in an ordered way launch the platform on a new country.
The setup was very easy, and then the ability to add team members to help us out with the translations. Also, it's very intuitive and easy to see what's left to be translated and what's done.
Mladen A.

Mladen A.

Read on G2
08/18/2022
Couldn't have asked for more
The product itself is great, and the team behind it is just fantastic. Always fast to respond to any questions competently and politely. I haven't experienced such a level of support with any other tool or platform.
Heysem Katibi, PM @ SwazerLab

Heysem Katibi, PM @ SwazerLab

Read on G2
08/24/2022
Flawless product with amazing features
ShareTM is a brilliant feature. It makes translating single words so much easier, especially since Google Translate and other machine translation services struggle a lot to translate single words without context.
Alexander M.

Alexander M.

View on G2
08/24/2022
Intuitive tool for managing translations
- Integrations and Guides to a variety of frameworks and systems - Intuitive and simple UI to manage translations - Quick & personal support experience - Pricing and Pricing Model
Integrate Localazy with Laravel.

💨 Make localization a breeze in minutes. ⏰

integrate now