Angular2-moment : change TimeAgoPipe language(ionic2 | Typescript)

hi everyone im trying to change displayed language of Timeagopipe"
in me page1.html :

<time>{{myDatet | amTimeAgo}}</time>

prints: 4 days ago

How can i change it into other language , no English ?

thanks :slight_smile:

use moment i18n

http://momentjs.com/docs/#/i18n/

thanks for replay,
i don’t understand, where i should write this command ?
moment.locale(String);