Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Change language at runtime #32

Merged
merged 1 commit into from
Feb 3, 2014
Merged

Change language at runtime #32

merged 1 commit into from
Feb 3, 2014

Conversation

efolio
Copy link
Contributor

@efolio efolio commented Feb 3, 2014

In response to Issue#30, this allows to rerender the dates on language change following your guidelines. :)

urish added a commit that referenced this pull request Feb 3, 2014
Change language at runtime
@urish urish merged commit dfdc3a9 into urish:master Feb 3, 2014
@urish
Copy link
Owner

urish commented Feb 5, 2014

Released as 0.6.2

@efolio
Copy link
Contributor Author

efolio commented Feb 5, 2014

Nice, thank you :)

On Wed, Feb 5, 2014 at 8:03 PM, Uri Shaked notifications@github.com wrote:

Released as 0.6.2

Reply to this email directly or view it on GitHubhttps://github.com//pull/32#issuecomment-34224802
.

Etienne Folio (Ornthalas)
(+33) 6 27 58 39 14
http://www.ornthalas.net/

@ux-engineer
Copy link

How do you use this?

@urish
Copy link
Owner

urish commented Apr 10, 2014

You call the changeLanguage method of the amMoment service.

e.g.: amMoment.changeLanguage('pt'); for Portuguese

Be sure to include the relevant moment.js translation files (or simply moment-with-langs.min.js to support all languages)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants