Comments (4)
XliffTasks isn't publicly shipping. Who would benefit from such a feature? Is it just internal teams?
from arcade.
XliffTasks isn't publicly shipping. Who would benefit from such a feature? Is it just internal teams?
Yes, internal teams. Like anything in Arcade?
from arcade.
Trying to investigate the plan here.
The goal here would be, we should be able to localize strings under .vsextension//string-resources.json
It's similar to the VSCode l10n model.
In vscode, it is done in this way.
- vscode l10n would generate
bundle.l10.json
. This is done by scanning the whole extension code. The scanning process is not interesting here. - From
bundle.l10.json
, it would be converted to xlf file by using thegenerate-xlf
in l10n. - These xlf file could later be translated by the LOC team.
- Translated xlf file, can be converted back to json file by using
import-xlf
.
Note VS code only provide l10n and l10-dev packages function via npm, so developer needs to set up the pipeline themself to work with the LOC side.
So in short, vscode path is x.json
-> x.xlf
-> Translated by LOC team -> x.xlf (translated)
-> x.json
In VS, it seems like we need to support LOC from both the json file and the legacy xlf file.
For each extension, it seems like xliff-tasks
should support
- Convert the
string-resources.json
tostring-resources.xlf
. - Expand
string-resources.xlf
to all the supported language version. - Convert
<lang>/string-resources.xlf
back to<lang>/string-resources.json
(I guess there should be only one string-ressources.xlf
per extension)
Arcade might add other support to feed the results of Step 2
to LOC side so they can generated the real LOC content. It might not needed in xliff-tasks
I am unfamiliar with arcade repo and xliff-tasks
. Is this a good plan? Do I need to get someone's review before start working on this? Tag @tmat and @ViktorHofer
from arcade.
@Cosifne Yes, that's how it would work. xliff-tasks already implements everything. It just needs to understand the additional string-resources.json
items. Seems like adding it is straightforward. I'll give it a shot since it's blocking me now.
from arcade.
Related Issues (20)
- `send-to-helix.yml` should support specifying the project path as a template parameter HOT 1
- [Feature request] Increase visibility of helix logs for passing tests HOT 8
- RIP out old VersionTools that is unneccessary
- Add a property to asset manifests for .NET Core owned packages HOT 1
- AsmDiff: unmanaged keyword getting confused with struct
- AsmDiff: RequiresPreviewAttribute not getting auto added
- Investigate migration to symbol.exe for symbol publishing HOT 3
- AzDO issue #5877 HOT 2
- Update release version in Generate-sbom.yml HOT 5
- Arcade release/7.0 PR failures HOT 1
- Add an initial implementation of the Arcade official templates, compatible with 1ES pipeline templates. HOT 4
- Avoid failing when GuardianConfiguration artifact already exists HOT 2
- 1ESPT conversion cleanup HOT 5
- Cannot use pwsh local tool with arcade HOT 2
- Use outputs and outputparentdirectory in the official Arcade templates to optimize Guardian scanning on artifact uploads
- XliffTasks compatibility to Multilingual App Toolkit HOT 1
- GenerateFileFromTemplate: allow a user-specified variable prefix string
- eng/common/templates-official is missing changes from the last two months HOT 7
- publish-build-assets official template shows an error when trying to upload an sbom HOT 4
- Investigate Arcade official templates not preserving templateContext HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcade.