Skip to content

Exclude translations from publish #182

Answered by andrey-helldar
Quadrubo asked this question in Q&A
Discussion options

You must be logged in to vote

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’)) }}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Quadrubo
Comment options

@andrey-helldar
Comment options

Answer selected by andrey-helldar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants