mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
E2E tests passed locally **Added `readme.md` to the example code** This explains how to build and run the example for both English and French. **Archived `i18n-optional-manual-runtime-locale.md`** I was asked to cut out a substantial swath of this page by reviewer "zip-fa". All that remained was a brief paragraph. I removed the page from the navigation after copying the remaining text to `i18n-optional-import-global-variants.md`. The page is still reachable by 3rd party links. PR Close #51589
14 lines
416 B
TypeScript
14 lines
416 B
TypeScript
// For documenting NgModule Apps only
|
|
// #docregion
|
|
import { LOCALE_ID, NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { AppComponent } from '../src/app/app.component';
|
|
|
|
@NgModule({
|
|
imports: [ BrowserModule ],
|
|
declarations: [ AppComponent ],
|
|
providers: [ { provide: LOCALE_ID, useValue: 'fr' } ],
|
|
bootstrap: [ AppComponent ]
|
|
})
|
|
export class AppModule { }
|