·
2 min read
Stop Duplicating Translations Across Projects
features
productivity
best-practices
How many times have you translated "Save" to Spanish?
If you have 5 Laravel projects, probably 5 times. Same work, repeated.
The Global Translations Library changes that.
Define Once, Use Everywhere
Create a translation in the Global scope:
Group: common
Key: buttons.save
EN: Save
ES: Guardar
FR: Enregistrer
Now every project in your account can use it. No duplication.
Perfect for Common UI
These strings appear in every app:
- Buttons: Save, Cancel, Delete, Edit, Close
- Messages: Success!, Error, Loading...
- Validation: Required field, Invalid email, Password too short
- Navigation: Home, Settings, Profile, Logout
Create them once globally. Never translate them again.
Override When Needed
Sometimes a project needs different wording.
Global: common.submit = "Submit"
But Project A needs: "Send Application"
Solution: Override
- Copy the global translation to your project
- Edit the value
- Project uses its version, others use global
Delete the override? Falls back to global automatically.
The Math
Without Global Library:
- 5 projects × 50 common strings × 10 languages = 2,500 translations
With Global Library:
- 50 strings × 10 languages = 500 translations (once)
- Projects inherit automatically
That's 80% less work.
How to Start
- Switch to Global scope in the translations page
- Create your common translations
- Use AI to translate all languages
- Publish
Your projects now have access to all of them.