Exclude translations from publish #182
-
My paginator uses it's own icons. <?php
declare(strict_types=1);
return [
'next' => 'Weiter',
'previous' => 'Zurück',
]; However whenever I run <?php
declare(strict_types=1);
return [
'next' => 'Weiter »',
'previous' => '« Zurück',
]; Can I exclude the keys from the update command? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Unfortunately, the publisher does not support excluding some phrases from processing. We gave up this practice a long time ago because it did not allow us to correctly maintain the actual state of translations in the final application. Since this view for values is default, we are adding it "as is". But you can, on the application side, modify it using the following call instead of the default one: {{ str_replace(‘»’, ‘’, __(‘pagination.next’)) }}
{{ str_replace(‘«’, ‘’, __(‘pagination.previous’)) }} |
Beta Was this translation helpful? Give feedback.
Unfortunately, the publisher does not support excluding some phrases from processing. We gave up this practice a long time ago because it did not allow us to correctly maintain the actual state of translations in the final application.
Since this view for values is default, we are adding it "as is".
But you can, on the application side, modify it using the following call instead of the default one: