Where place the code for translate into other language
Added by willy adelard 11 months ago
I want to translate elfinder
Where can I put the code to translate elfinder
Thank you
Replies (4)
RE: Where place the code for translate into other language
-
Added by Troex Nevelin 11 months ago
First check, maybe translation is already done https://github.com/Studio-42/elFinder/tree/master/src/js/i18n
If not you can create new issue
RE: Where place the code for translate into other language
-
Added by willy adelard 11 months ago
I have the file elfinder.fr.js in ../src/js/i18n, but I do not know how to activated the translate elfinder.
RE: Where place the code for translate into other language
-
Added by Troex Nevelin 11 months ago
elFinder comes with production and development .js files, everything that is inside src/ is for developers.
If you just want to use your translation:- put it in js/i18n
- include this file in html
<script src="js/i18n/elfinder.fr.js" type="text/javascript" charset="utf-8"></script> - set
lang: 'fr'option
RE: Where place the code for translate into other language
-
Added by Dmitry Levashov 11 months ago
There is template file / src / js / i18n / elfinder.YOUR_LANG.js
(1-4/4)