kartik-v / bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x/4.x./3.x with file preview, multiple selection, and more features.
http://plugins.krajee.com/file-input
Other
5.36k stars 2.4k forks source link

Hi sorry for bothering I'm using yii2 kartik FileInput when I set language property to for example 'en', 'es' it is showing that language messages but newly added language (uz-cyrl) don't working #1691

Closed safarmurodY closed 3 years ago

safarmurodY commented 3 years ago

uz-cyrl

Prerequisites

Steps to reproduce the issue

1. 2. 3.

Expected behavior and actual behavior

When I follow those steps, I see that 'language' property must be set like 'uz' , 'en' or 'es'

I was expecting to use 'uz-cyrl' language from bootstrap-fileinput/js/locales/uz-cyrl.js but when i set language property to this widget showing english messages

Environment

Browsers

Operating System

Libraries

Isolating the problem

kartik-v commented 3 years ago

Not directly related to the plugin repo but your usage of the Yii2 widget. This seems an environment / code issue at your end where you may be having stale outdated Yii2 web runtime assets & browser cache impacting your configuration - which need to be cleared and restarted. Also I am assuming you have updated the entire packages via composer to dev-master. For example, this works fine on Yii2 (check screen shot below). If you have issues related to Yii2 widget - please log it in the right repo. Thanks.

image