-
In the Uno ToDo sample project, there is a file called Resources.l12n.xml that has all the strings. Then there are 3 Resources.resw files in subfolders. How are these files generated from the xml file? Mine don't seem to re-generate when I modify the xml file, is there a custom tool or something I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@Xiaoy312 may be able to help. |
Beta Was this translation helpful? Give feedback.
-
This file was initially used to generated the other culture-specific xaml. You can find the implementation here: // the PR commit history is messed up... just look at this single commit OverviewAdded
Of note, I'm not sure what state are the resw and l12n in now. The l12n may not have been kept updated. So just keep an eye. Hope that answers your question. |
Beta Was this translation helpful? Give feedback.
This file was initially used to generated the other culture-specific xaml.
The associated script/tooling was not included as it was blocked by some unresolved internal discussion (we sort of forgot about it now...).
You can find the implementation here: // the PR commit history is messed up... just look at this single commit
unoplatform/uno.todo@1e788ff
In the same PR description, I wrote an overview of it. I will just copy here:
Overview
Added
ReswGenerationTask
that triggers automatically on build of any head projects. This newly added task will regenerate .resw files based from the single masterresources.l12n.xml
file. This new localization format has a few advantages over the standa…