Skip to content

v1.6.1 – Custom separator

Compare
Choose a tag to compare
@bartholomej bartholomej released this 26 Jul 08:21
· 125 commits to master since this release
v1.6.1
73e4d1c

v1.6.1

  • fix(pipe): calling pipe programmatically (separator fallback)

v1.6.0

If you are not satisfied with the basic settings of the separator (which is |), you can choose your own separator.
No breaking changes. Default value without optios is still |

  import { NgxTranslateCutModule } from 'ngx-translate-cut';

  @NgModule({
   // ...
   imports: [
     // ...
     NgxTranslateCutModule.forRoot({
      // Your separator in translation strings will be `*`
      separator: '*'
    }),
   ]
  })