Hello,
Maybe somebody knows how to implement new locale in timeline component.
I need add language 'LT', but such language not in default locales so i need to add.
Any example?
Thank you!
Regards,
Pranas
timeline add new locale in PF10
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
you know that this is a community forum, not a support ticket system?
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Posts: 85
- Joined: 01 Mar 2018, 12:29
@pancius if you know your translatation provide it here and I will submit a PR to the Timeline guys.
See their current translations: https://github.com/visjs/vis-timeline/b ... locales.js
See their current translations: https://github.com/visjs/vis-timeline/b ... locales.js
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
Also we are looking for translators! If you would like to translate the LT language for us we would be happy to add it to PrimeFaces Core.
See: https://primefaces.github.io/primefaces ... calization
See: https://primefaces.github.io/primefaces ... calization
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
Translation i added to
http://infoside.lt/failai/primefaces/translation.txt
Any way i need month translations. how to translate months?
http://infoside.lt/failai/primefaces/translation.txt
Any way i need month translations. how to translate months?
Months then you need to provide a Lithuanian translation for these files:
Server: https://github.com/primefaces/primeface ... primefaces
Client: https://github.com/primefaces/primeface ... es/locales
Make sure to use the "en" English files for your template as they are complete.
Server: https://github.com/primefaces/primeface ... primefaces
Client: https://github.com/primefaces/primeface ... es/locales
Make sure to use the "en" English files for your template as they are complete.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
In client side this is not working solution or something there is wrong.
I have such PrimeFaces.locales['lt'] ... script included and in one page i have <p:calendar> and <p:timeline> calendar translations looks good but timeline in english anyway ...
With extender i translated 3 titles that's it. Maybe via extender possible to add more translations?
I have such PrimeFaces.locales['lt'] ... script included and in one page i have <p:calendar> and <p:timeline> calendar translations looks good but timeline in english anyway ...
With extender i translated 3 titles that's it. Maybe via extender possible to add more translations?
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 49 guests