Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Dutch (nl.po)

Bram Luyten - bram@atmire.com


Developer How-to

Locating keys that have not been replaced

If you execute following command in the angular source directory, you get a list of keys that have not yet been replaced.

Code Block
languagebash
titleGrep command for identifying keys that have not yet been replaced
grep -snRHIiE "'[^\s]+\.[^\s]+\.[^']+' \| translate" *

For example:

Code Block
languagebash
app/+community-page/delete-community-page/delete-community-page.component.html:5: <h2 id="header" class="border-bottom pb-2">{{ 'community.delete.head' | translate
app/+community-page/delete-community-page/delete-community-page.component.html:7: <p class="pb-2">{{ 'community.delete.text' | translate:{ dso: dso.name } }}</p>
app/+community-page/delete-community-page/delete-community-page.component.html:12: <button class="btn btn-primary" (click)="onCancel(dso)">{{'community.delete.cancel' | translate}}
app/+community-page/edit-community-page/edit-community-page.component.html:4: <h2 id="header" class="border-bottom pb-2">{{ 'community.edit.head' | translate }}</h2>