Comments (8)
I'm trying this solution and it's working on my code ( Laravel )
- Use package flowbite-datepicker
- At file app.js
import Datepicker from "flowbite-datepicker/Datepicker";
import vi from "../../node_modules/flowbite-datepicker/js/i18n/locales/vi.js";
const datepickerEl = document.getElementById('datepickerId');
Datepicker.locales.vi = vi.vi;
new Datepicker(datepickerEl, {
language: 'vi',
format: 'dd/mm/yyyy'
});
from flowbite.
Hi, I am impressed with the design and I am considering purchasing a pro version, but I have a question regarding the code content. Does the pro version include exactly the same files as are free? Because I wanted to use your calendar component in my project today and... it didn't work very well.
I noticed the visual messes that were reported on other issues a while ago, as well as those wretched translations that can't be set.
From what I can see, the whole problem lies in the file
base-locales.js
, which is only English. My client is from Poland, so I needed a translation that is added but not used.import {locales} from './i18n/base-locales.js';
Did you find any solution to translate ? I couldn't translate it.
from flowbite.
Hey @DanielCambray,
We'll address this issue in the v1.2.1 update.
https://github.com/themesberg/flowbite/projects/1
from flowbite.
Has this been resolved in 1.3.0?
from flowbite.
Hi, I am impressed with the design and I am considering purchasing a pro version, but I have a question regarding the code content. Does the pro version include exactly the same files as are free? Because I wanted to use your calendar component in my project today and... it didn't work very well.
I noticed the visual messes that were reported on other issues a while ago, as well as those wretched translations that can't be set.
From what I can see, the whole problem lies in the file base-locales.js
, which is only English. My client is from Poland, so I needed a translation that is added but not used.
import {locales} from './i18n/base-locales.js';
from flowbite.
I have not found any solution, I just remember that you would have to overwrite the file where the languages are imported for this plugin. When I analyzed it some time ago, only the English language was being import.
from flowbite.
Hi!, this feature will be released in short term? I'm also using the CDN and I want to change the language with Spanish
from flowbite.
Hi, I'm having the same problem too, I'm not able to change the language. I have checked the last release 1.6.3 and it is not solving this
from flowbite.
Related Issues (20)
- When can flowbite-datepicker be used in Vue.js?
- Request - please add "Flowbite" to website title
- Modal not working with Angular HOT 4
- time picker feature improvement HOT 1
- [Documentation Issue] [Related content/forms/textarea.md] WYSIWYG Editor - Step 2
- Google PageSpeed
- Bug: Sidebar Fails to Darken When Right-Side Drawer Opens
- Flowbite Navigation Routing Mistake
- Event object isn't correctly passed to Dropdown.Item click handler
- Uncaught TypeError: Cannot read properties of null (reading 'render') Turbo-rails + Flowbite
- Support the Popover api
- Blazor SSR Flowbite not initializing after navigation HOT 1
- DatePicker does not work in Blazor wasm
- Dropdown close with trigger type hover
- Image Placeholder Should Display Only Image Without Text
- Modal Dialog not showing when navigating back to the same route using Router Outlet (Angular)
- Indeterminate Checkbox should not change on hover if disabled.
- Popover and Tooltip cause overflow (white space in page) when window resize HOT 1
- Datarange picker does not become inline HOT 1
- Modal over Modal, can not be removed appropriately HOT 1
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 flowbite.