Closed paavo closed 2 years ago
Hey paavo,
yes, there is! It's implemented with a bit of magic :)
Just do it like this:
services:
youtube:
title: Youtube
description: Vendor.Site:CookiePunch:services.youtube.description
Where
Vendor:Site
is your site package keyCookiePunch
is the name of the xml file containing the translations (you can choose any name here, just needs to match the file name). See this::
(here: services.youtube.description
). <trans-unit id="services.youtube.description">
<source>Erlaubt die Einbindung von Youtube-Videos.</source>
</trans-unit>
Thanks for your detailed help @klfman Is there also a "Fusion-Way" as we are using https://github.com/sitegeist/Sitegeist.CsvPO for translations.
Is there a way to add a translation for a service? For example i'd like to translate "Foo Tube":