question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

local for another lang

See original GitHub issue

hi, im use ionic 2 and angular2 how use angular2-moment for persian lnaguage in app.module

@NgModule({
    declarations: [declarations()
        , LimitLangDirective
        , AndroidButtonDirective
        , TruncatePipe
    ],
    imports: [
        BrowserModule,
        MomentModule ,
        HttpModule,
        TranslateModule.forRoot({
            loader: {
                provide: TranslateLoader,
                useFactory: HttpLoaderFactory,
                deps: [Http]
            }
        }),
      
        IonicStorageModule.forRoot()
    ],
    bootstrap: [IonicApp],
    entryComponents: entryComponents(),
    providers: providers()
})

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
thieneditscommented, Sep 4, 2018

@urish Locale still not working properly in 3.1.0. Doesn’t seem to change until the next change detection.

2reactions
Talalaevcommented, Jul 13, 2017

I use this to change the language in angular 4 application:

import * as moment  from 'moment';
moment.locale('ru');
Read more comments on GitHub >

github_iconTop Results From Across the Web

Do You Know How to Say Local in Different Languages?
Saying Local in European Languages ; Greek · τοπικός [topikós], Edit ; Hungarian · helyi · Edit ; Icelandic · Staðbundin · Edit...
Read more >
Local In Different Languages
Local ; Bosnian: lokalno. Bulgarian: местни. Catalan: ; Indonesian: lokal. Irish: áitiúil. Italian: ; Polish: lokalny. Portuguese (Portugal, Brazil):. local ...
Read more >
Translation of local - Definitions.net
Would you like to know how to translate local to other languages? This page provides all possible translations of the word local in...
Read more >
Change Google Maps languages or domains
Find Google Maps in another language. Google Maps automatically shows place names in a country's local languages, but on your computer, you can...
Read more >
Benefits of Learning the Local Language of Places You Visit
While people can travel to other countries speaking only English, learning the local language of the places you are going to visit is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found