x11 Posted March 1, 2021 Share Posted March 1, 2021 Когда захожу со смартфона (на смартфоне выбран украинский язык в Андроиде и в браузере), то в логах появляется ошибка: Quote File not found: \unigui\ext-7.0.0\build\classic\locale\locale-uk.js Проблема в том, что во фреймворке есть файл locale-ukR.js В uniMainModule и в uniServerModule в свойствах ExtLocale указано значение [auto] и так и должно быть, т.е .автоматический выбор (русский или украинский). Как быть, как заставить подгружаться правильный файл для украинской локализации? Спасибо. Quote Link to comment Share on other sites More sharing options...
x11 Posted March 16, 2021 Author Share Posted March 16, 2021 up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 16, 2021 Share Posted March 16, 2021 On 3/2/2021 at 1:22 AM, x11 said: Как быть, как заставить подгружаться правильный файл для украинской локализации? Я создал запрос в портале поддержки. Quote Link to comment Share on other sites More sharing options...
x11 Posted September 29, 2021 Author Share Posted September 29, 2021 до сих пор не исправлено Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 проблема все еще актуальна я так понимаю, проблема связана с неправильно интерпретацией локали браузера, потому что в ExtJS есть "locale-ukr.js". т.е. нельзя в UniMainModule.ExtLocale указьівать [Auto]. Нужно принудительно ставить ukr. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5 Share Posted February 5 On 3/2/2021 at 1:22 AM, x11 said: В uniMainModule и в uniServerModule в свойствах ExtLocale указано значение [auto] и так и должно быть, т.е .автоматический выбор (русский или украинский). Если указываете ExtLocale = ukr, подгружается правильный файл? Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 4 minutes ago, Sherzod said: Если указываете ExtLocale = ukr, подгружается правильный файл? Надеюсь, что да, т.к. ошибка не появляется. Вот так язьік виден в браузере Firefox Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5 Share Posted February 5 On 3/2/2021 at 1:22 AM, x11 said: Когда захожу со смартфона Но Вы используете десктопную версию, верно? Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 да, десктопную мобильную не проверял Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5 Share Posted February 5 Но на десктопном все работает? И не могли бы вы еще сказать пожалуйста, что файл локализации переведен правильно на десктопном? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5 Share Posted February 5 On 3/2/2021 at 1:22 AM, x11 said: В uniMainModule и в uniServerModule в свойствах ExtLocale указано значение [auto] и так и должно быть, т.е .автоматический выбор (русский или украинский). т.е. нельзя в UniMainModule.ExtLocale указьівать [Auto]. Какой файл локализации загружается тогда? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5 Share Posted February 5 И посмотрите пожалуйста логи, там есть записи об отсутствующих файлах? Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 50 minutes ago, Sherzod said: Какой файл локализации загружается тогда? locale-ukr.js Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 47 minutes ago, Sherzod said: И посмотрите пожалуйста логи, там есть записи об отсутствующих файлах? Quote uniTabControl1.exe: 00005B8C: 08:06:40 [HandleFileRequest[127.0.0.1]]:File not found: ...\Framework\unigui\ext-7.4.0\build\classic\locale\locale-uk.js uniTabControl1.exe: 00002A20: 08:06:40 [HandleFileRequest[127.0.0.1]]:File not found: ...\Framework\unigui\ext-7.4.0\build\classic\locale\locale-uk.js uniTabControl1.exe: 000062FC: 08:06:40 [HandleFileRequest[127.0.0.1]]:File not found: ...\uniGUI_uniTabControl\favicon.ico uniTabControl1.exe: 00003FDC: 08:08:26 [HandleFileRequest[127.0.0.1]]:File not found: ...\Framework\unigui\ext-7.4.0\build\classic\locale\locale-uk.js Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5 Share Posted February 5 Какую версию Вы используете? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5 Share Posted February 5 Можете обновиться до последней версии? Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 К сожалению, нет. Лицензя закончилась, в кабинете сейчас доступна только версия 1.90.0.1567. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 5 Administrators Share Posted February 5 4 minutes ago, x11 said: К сожалению, нет. Лицензя закончилась, в кабинете сейчас доступна только версия 1.90.0.1567. Please check if file \Framework\unigui\ext-7.4.0\build\classic\locale\locale-uk.js physically exists. Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 1 minute ago, Farshad Mohajeri said: Please check if file \Framework\unigui\ext-7.4.0\build\classic\locale\locale-uk.js physically exists. No, there is no such file there Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 5 Administrators Share Posted February 5 It exists in our deployment files. Can you upgrade to the latest build? Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 Do I have to install the deployment 1.90.0.1567 and then get the file from the deployment 1.90.0.1567? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 5 Administrators Share Posted February 5 8 minutes ago, x11 said: Do I have to install the deployment 1.90.0.1567 and then get the file from the deployment 1.90.0.1567? Normally when you install uniGUI all files should be installed correctly. Quote Link to comment Share on other sites More sharing options...
x11 Posted February 5 Author Share Posted February 5 1567 files are present thanx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.