Jump to content
seon1981

Проблема с локализацией Украины

Recommended Posts

При выборе в настройках локализации страны Украина выдает такую ошибку, кто сталкивался?

Заранее благодарю за помощ

Спойлер

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 2 column 1 of the JSON data
OK
{"country_id":"220","name":"\u0423\u043a\u0440\u0430\u0438\u043d\u0430","iso_code_2":"UA","iso_code_3":"UKR","address_format":"","postcode_required":"0","zone":[{"zone_id":"3483","country_id":"220","name":"\u0410\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u0440\u044b\u043c","code":"43","status":"1"},{"zone_id":"3501","country_id":"220","name":"\u0412\u0438\u043d\u043d\u0438\u0446\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"05","status":"1"},{"zone_id":"3502","country_id":"220","name":"\u0412\u043e\u043b\u044b\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"07","status":"1"},{"zone_id":"3484","country_id":"220","name":"\u0414\u043d\u0435\u043f\u0440\u043e\u043f\u0435\u0442\u0440\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"12","status":"1"},{"zone_id":"3485","country_id":"220","name":"\u0414\u043e\u043d\u0435\u0446\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"14","status":"1"},{"zone_id":"3505","country_id":"220","name":"\u0416\u0438\u0442\u043e\u043c\u0438\u0440\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"18","status":"1"},{"zone_id":"3503","country_id":"220","name":"\u0417\u0430\u043a\u0430\u0440\u043f\u0430\u0442\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"21","status":"1"},{"zone_id":"3504","country_id":"220","name":"\u0417\u0430\u043f\u043e\u0440\u043e\u0436\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"23","status":"1"},{"zone_id":"3486","country_id":"220","name":"\u0418\u0432\u0430\u043d\u043e-\u0424\u0440\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"26","status":"1"},{"zone_id":"3490","country_id":"220","name":"\u041a\u0438\u0435\u0432","code":"30","status":"1"},{"zone_id":"3491","country_id":"220","name":"\u041a\u0438\u0435\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"32","status":"1"},{"zone_id":"3489","country_id":"220","name":"\u041a\u0438\u0440\u043e\u0432\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"35","status":"1"},{"zone_id":"3492","country_id":"220","name":"\u041b\u0443\u0433\u0430\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"09","status":"1"},{"zone_id":"3493","country_id":"220","name":"\u041b\u044c\u0432\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"46","status":"1"},{"zone_id":"3494","country_id":"220","name":"\u041d\u0438\u043a\u043e\u043b\u0430\u0435\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"48","status":"1"},{"zone_id":"3495","country_id":"220","name":"\u041e\u0434\u0435\u0441\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"51","status":"1"},{"zone_id":"3496","country_id":"220","name":"\u041f\u043e\u043b\u0442\u0430\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"53","status":"1"},{"zone_id":"3497","country_id":"220","name":"\u0420\u043e\u0432\u043d\u0435\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"56","status":"1"},{"zone_id":"3498","country_id":"220","name":"\u0421\u0435\u0432\u0430\u0441\u0442\u043e\u043f\u043e\u043b\u044c","code":"40","status":"1"},{"zone_id":"3499","country_id":"220","name":"\u0421\u0443\u043c\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"59","status":"1"},{"zone_id":"3500","country_id":"220","name":"\u0422\u0435\u0440\u043d\u043e\u043f\u043e\u043b\u044c\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"61","status":"1"},{"zone_id":"4224","country_id":"220","name":"\u0425\u0430\u0440\u044c\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"HR","status":"1"},{"zone_id":"3487","country_id":"220","name":"\u0425\u0435\u0440\u0441\u043e\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"65","status":"1"},{"zone_id":"3488","country_id":"220","name":"\u0425\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"68","status":"1"},{"zone_id":"3480","country_id":"220","name":"\u0427\u0435\u0440\u043a\u0430\u0441\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"71","status":"1"},{"zone_id":"3481","country_id":"220","name":"\u0427\u0435\u0440\u043d\u0438\u0433\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"74","status":"1"},{"zone_id":"3482","country_id":"220","name":"\u0427\u0435\u0440\u043d\u043e\u0432\u0438\u0446\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"77","status":"1"}],"status":"1"}
<div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">

</div></div>

 

Share this post


Link to post
Share on other sites

В настройках языка все параметры указаны правильно?

Screenshot_2.png

Share this post


Link to post
Share on other sites

Не язык украинский, а страна Украина. При выборе страны выдаёт ошибку

Share this post


Link to post
Share on other sites
16 часов назад, seon1981 сказал:

<div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">

</div></div>

разбираться откуда это в json-ответе

Share this post


Link to post
Share on other sites
10 часов назад, thentru сказал:

разбираться откуда это в json-ответе

Дело в том, что эта ошибка вылетает даже на с нуля установленный мвгазин

Share this post


Link to post
Share on other sites

Никто не может помочь??? Что это может быть?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.