Skip to content

Goodwine/angular-issue-38980

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issue38980

This is a playground to test out the issue at angular/angular#38980

There are two buttons in AppComponent marked for i18n translation.

<button i18n>
  <icon value="notebook"></icon>
  Edit {{ 1 + 1 // i18n(ph="number") }}
</button>
<button i18n>
  <icon value="pencil"></icon>
  Edit {{ 1 + 1 // i18n(ph="number") }}
</button>

The CLI has been configured to generate 9 different translation file outputs:

  1. ivy: off + xlf / xlf2 / xmb
  2. ivy: on + xlf / xlf2 / xmb
  3. ivy: on + legacy message ids disabled + xlf / xlf2 / xmb

According to this issue you would expect to see two different messages extracted in the translation file. But there appears to be only one.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.0%
  • JavaScript 19.2%
  • HTML 5.0%
  • CSS 0.8%