{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-fileinput/issues/16","labels_url":"https://api.github.com/repos/kartik-v/yii2-widget-fileinput/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-widget-fileinput/issues/16/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-widget-fileinput/issues/16/events","html_url":"https://github.com/kartik-v/yii2-widget-fileinput/issues/16","id":58326122,"number":16,"title":"Custom internationalization","user":{"login":"thejahweh","id":10514993,"avatar_url":"https://avatars.githubusercontent.com/u/10514993?v=3","gravatar_id":"","url":"https://api.github.com/users/thejahweh","html_url":"https://github.com/thejahweh","followers_url":"https://api.github.com/users/thejahweh/followers","following_url":"https://api.github.com/users/thejahweh/following{/other_user}","gists_url":"https://api.github.com/users/thejahweh/gists{/gist_id}","starred_url":"https://api.github.com/users/thejahweh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejahweh/subscriptions","organizations_url":"https://api.github.com/users/thejahweh/orgs","repos_url":"https://api.github.com/users/thejahweh/repos","events_url":"https://api.github.com/users/thejahweh/events{/privacy}","received_events_url":"https://api.github.com/users/thejahweh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kartik-v/yii2-widget-fileinput/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-20T09:15:22Z","updated_at":"2015-10-16T06:08:37Z","closed_at":"2015-05-03T08:15:16Z","body":"I have to customize the internationalization and noticed that this is not possible right now, because of one * char.\r\n\r\n```php\r\n// This\r\n// Yii::$app->i18n->translations['fileinput'] = $this->i18n;\r\n// Should be\r\nYii::$app->i18n->translations['fileinput*'] = $this->i18n;\r\n```"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-fileinput/issues/comments/148618367","html_url":"https://github.com/kartik-v/yii2-widget-fileinput/issues/16#issuecomment-148618367","issue_url":"https://api.github.com/repos/kartik-v/yii2-widget-fileinput/issues/16","id":148618367,"user":{"login":"thejahweh","id":10514993,"avatar_url":"https://avatars.githubusercontent.com/u/10514993?v=3","gravatar_id":"","url":"https://api.github.com/users/thejahweh","html_url":"https://github.com/thejahweh","followers_url":"https://api.github.com/users/thejahweh/followers","following_url":"https://api.github.com/users/thejahweh/following{/other_user}","gists_url":"https://api.github.com/users/thejahweh/gists{/gist_id}","starred_url":"https://api.github.com/users/thejahweh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejahweh/subscriptions","organizations_url":"https://api.github.com/users/thejahweh/orgs","repos_url":"https://api.github.com/users/thejahweh/repos","events_url":"https://api.github.com/users/thejahweh/events{/privacy}","received_events_url":"https://api.github.com/users/thejahweh/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T06:08:37Z","updated_at":"2015-10-16T06:08:37Z","body":"How do I change the JS translation directory? I have to give some special translations which are not that common for all upload fields on a website.\r\n\r\nI've tried it like this:\r\n```php\r\n\\Yii::$container->set('kartik\\file\\FileInputAsset', [\r\n\t'sourcePath' => '@app/messages/fileinput',\r\n]);\r\n```\r\nBut then the whole `sourcePath` is changed and I don't want to copy the `fileinput.js` and `fileinput.min.js` over."}}