Comments (3)
@tornako there is no way to have in the captions
object different languages at the same time.
from fileuploader.
The simplest way is following
HTML:
<script type="text/javascript">
window.appLanguage = 'en';
</script>
Custom.js:
// declare translations
var fileuploaderTranslations = {
en: {
button: 'Browse files'
},
es: {
button: 'Examinar...'
}
};
// init fileuploader
$('input:file').fileuploader({
captions: fileuploaderTranslations[window.appLanguage]
});
from fileuploader.
@tornako the plugin is now translated in 14 languages. Check it here https://innostudio.de/fileuploader/documentation/#options-captions
from fileuploader.
Related Issues (20)
- Cropper broken on latest Chrome version (84) HOT 6
- React component without jQuery HOT 5
- Image List doesn't remove deleted image (iOS)
- Some bugs then user use Drag & Drop HOT 2
- Array provided to 'preload' is reversed in rendered output HOT 1
- Data array with duplicated items HOT 1
- Resize HOT 1
- Exif problem when uploading directly from camera on phones HOT 1
- onFilesCheck asnychronous? HOT 2
- Heic format conversion via heic2any HOT 3
- FileUpload React component isnt working HOT 1
- Use exclamation-comments for license info
- Gallery by Id's HOT 1
- fileMaxSize options HOT 2
- Uploading files in Safari with accented characters not working HOT 1
- How can I remove whitespaces in the image name or how can I rename it?
- [Question] PHP 8? HOT 1
- PHP 8.2.6 (PHP Deprecated: Implicit conversion from float to int loses precision) HOT 2
- Multiple File upload fields on same page
- Spanish translations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fileuploader.