Jump to content

Community

lang issue


Go to solution Solved by bfarber,

Recommended Posts

After attach pdf to post we see attach block:

In english all ok

iss_1.jpg.2decc934d5360490b2c808125834c150.jpg

In russian - problem

iss_2.jpg.1a12ee68f5f2a1ca5116701694d1295b.jpg

Fast solution:

in file system/Lang/Lang.php replace

$replacement = mb_substr( json_encode( $replacement ), 1, -1 );

to

$replacement = mb_substr( json_encode( $replacement, JSON_UNESCAPED_UNICODE ), 1, -1 );

now all fine

iss_3.jpg.ac9a1f756ac11d678b3a7b1104d28f8d.jpg

 

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy