Skip to content

Locale issue #104

Open
Open
@jekcom

Description

@jekcom

When switching locale language in real time the calendar is translated but the date in the textbox is not being translated.
That's the input

<input type="text" id="endDate" class="form-control" format="MMM D, YYYY" style="width:150px" placeholder="{{'forever' | translate}}" ng-model="validUntilDate" ok-text="{{'ok' | translate}}" cancel-text="{{'cancel' | translate}}" today-text="{{'today' | translate}}" mdc-datetime-picker="" time="false" date="true" lang="{{vm.languageCode}}" close-text="Close" />
first i do
vm.languageCode = 'en'; moment.locale('en');
then switching to french
vm.languageCode = 'fr' ; moment.locale('fr');

Notice the textbox on the right is not beeing translated

untitled-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions