ngx-g-translate
v1.0.1
Published
For Angular 7.x+, Google translate button wrapper package.
Downloads
4
Readme
NgxGTranslate
For Angular 7.x+, Google translate button wrapper package.
Get Started
Import Module
import { GTranslateModule } from 'ngx-g-translate';
@NgModule({
declarations: [
// ...something...
],
imports: [
// ...something...,
GTranslateModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Use Component
...something...
<g-translate
pageLanguage="en" // This page language
[includedLanguages]="['en','ja','zh-CN','zh-TW']" // Can use languages
>
</g-translate>
...something...