Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date Picker/Angukar 6/ngx-translate #8465

Open
mrhcon opened this issue Aug 24, 2018 · 6 comments
Open

Date Picker/Angukar 6/ngx-translate #8465

mrhcon opened this issue Aug 24, 2018 · 6 comments
Labels
Feature: Date picker Need: More information Not enough information provided in the issue to take an action that would resolve it. State: Not supported The issue is about unsupported feature or block of code.

Comments

@mrhcon
Copy link

mrhcon commented Aug 24, 2018

When using ngx-translate with Angular 6 and WET 4, I have an issue refreshing the strings in the date picker (Month names, Day names, etc) to match the selected language toggle. Was curious if anyone else has experienced this and found a work around?
I do modify the language in the top level HTML element to have the proper lang value, but there seems to be no way to refresh the datepicker...

@duboisp
Copy link
Member

duboisp commented Aug 27, 2018

We don't have a WET-BOEW Angular variant yet. Are you able to reproduce the issue only by using WET4?

@duboisp duboisp added Need: More information Not enough information provided in the issue to take an action that would resolve it. Feature: Date picker State: Not supported The issue is about unsupported feature or block of code. labels Aug 27, 2018
@duboisp
Copy link
Member

duboisp commented Aug 27, 2018

Is your issue is limited to one particular browser?

@mrhcon
Copy link
Author

mrhcon commented Aug 27, 2018

I was using ngx-translate so I could avoid a page refresh when toggling the language selection. If I do a page refresh it works just fine. Happens on Firefox and Chrome.

@LaurentGoderre
Copy link
Member

The problem is that all strings are cache so when you change the language changes, the strings don't get refreshed. WET was not designed to support this use case (though it may be possible to support it)

@jcmiron
Copy link

jcmiron commented Sep 6, 2018

Even on WET's website documentation french datepicker doesn't work in Chrome. This might be a bigger issue.

@ghost
Copy link

ghost commented Sep 6, 2018

If your referring to:

https://wet-boew.github.io/wet-boew/demos/datepicker/datepicker-fr.html

This would not load the WET version on Firefox or Chrome. As these browsers have there own datepickers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Date picker Need: More information Not enough information provided in the issue to take an action that would resolve it. State: Not supported The issue is about unsupported feature or block of code.
Projects
None yet
Development

No branches or pull requests

4 participants