Third party packages? #153
-
Hi there! First of all: what a great package this is. It really takes out the pain of adding and updating translation files. Thanks for that. I'm a heavy Statamic user and merging Laravel, Statamic and custom translations for the project you're working on still is a bit of a hassle. I'm not affiliated with Statamic but I was wondering if this package is open to merging in translations for third party packages like Statamic. If so I could open up an idea on their repo to see what they think about this. All the best, Rob |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes, it is possible and very easy. In short, you need to collect all the keys for translation into one file, add the necessary locales to the package and then synchronize them. Detailed tutorial using the Translations Template. For example, the new package will be named
|
Beta Was this translation helpful? Give feedback.
Yes, it is possible and very easy.
In short, you need to collect all the keys for translation into one file, add the necessary locales to the package and then synchronize them.
Detailed tutorial using the Translations Template.
For example, the new package will be named
best-packages/statamic-translations
and located in the GitHub projectBestPackages/StatamicTranslations
.git clone
,use this template
button, download archive...);<your_namespace>
withBestPackages/StatamicTranslations
;your/namespace
withbest-packages/statamic-translations
;YourNamespace\Translations
withBestPackages\StatamicTranslations
;Extende…