2017-08-19 21 views
0

我想看看是否有在角CLI本地工作流程角i18n提取clobbers以前的变化?

  1. 提取翻译
  2. 发送和接收翻译回
  3. 与新副本块
  4. 再次提取更新代码//点失败的
  5. 发送和Recieving翻译回

如果我解压新的翻译会打破旧的。是否有一个调和两个提取的过程?还是计划?预计开发团队会推出自己的产品吗?只是在寻找清晰

HTML:

<h1>Hello i18n!</h1> 
  1. 摘录翻译:

    <body> 
        <trans-unit id="introductionHeader" datatype="html"> 
        <source>Hello i18n!</source> 
        <context-group purpose="location"> 
         <context context-type="sourcefile">src/app/app.component.ts</context> 
         <context context-type="linenumber">1</context> 
        </context-group> 
        <note priority="1" from="description">An introduction header for this sample</note> 
        <note priority="1" from="meaning">site header</note> 
        </trans-unit> 
    </body> 
    
  2. 发送和接收与翻译回去

     <body> 
         <trans-unit id="introductionHeader" datatype="html"> 
         <source>Hello i18n!</source> 
         <target>HERRO i18n!</target> 
         <context-group purpose="location"> 
          <context context-type="sourcefile">src/app/app.component.ts</context> 
          <context context-type="linenumber">1</context> 
         </context-group> 
         <note priority="1" from="description">An introduction header for this sample</note> 
         <note priority="1" from="meaning">site header</note> 
         </trans-unit> 
        </body> 
    
  3. 更新代码再次新副本块

    <h1>Hello i18n!</h1> <h1>Goodbye i18n!</h1>

  4. 提取物可去除<target>translated content</target>

也因此一切都将不得不重新翻译。

有没有这方面的工作流程?

回答