angular - 如何从 resx 文件中获取数据并将 xlf 文件放入 angilar
问题描述
我有数据值格式的 resx 文件。我需要获取这个值并根据数据将其放入 xlf 文件中。
Resx 文件格式
<data name="familyMembersTravelling" xml:space="preserve">
<value>Family Members Travelling</value>
</data>
XLF 文件格式:
<trans-unit id="manageaccountcomponent_success_userunlocked" datatype="html">
<source>User has been unlocked successfully</source>
<target>User has been unlocked successfully</target>
<context-group purpose="location">
<context context-type="sourcefile">app/app.component.html</context>
<context context-type="linenumber">22</context>
</context-group>
</trans-unit>
解决方案
推荐阅读
- intellij-idea - 如何修复 IntelliJ Idea 中的 Ctrl 单击
- node.js - 从 index.ts 导入页面组件和 getServerSideProps
- php - 缩放到 MOZILLA 中嵌入的 PDF 绘图中的文本
- c# - 领域事件调用存储库是否可以接受?或者执行子任务的其他选项是什么?
- javascript - 多个按钮上的事件监听器
- vba - MS Word VBA将文本框附加到偶数和奇数标题
- python - 通过 Jquery 使用 django-filter 和 django-tables2 管理所有字段的单个搜索栏
- c++ - C++ QT tableView在设置自定义标题后不显示标题标签
- google-chrome - 无法在 Chrome 浏览器中的 Apache JMeter 中记录
- javascript - 如何在 nuxt SSR 中设置 plotly.js?