Skip to content

Enable localization of walkthrough MD files (provided they are actually HTML)#7894

Merged
Colengms merged 6 commits intomainfrom
coleng/walkthrough_loc
Jul 29, 2021
Merged

Enable localization of walkthrough MD files (provided they are actually HTML)#7894
Colengms merged 6 commits intomainfrom
coleng/walkthrough_loc

Conversation

@Colengms
Copy link
Contributor

@Colengms Colengms commented Jul 29, 2021

Addresses: #7538

Updated translation export and generate scripts to accommodate the file naming and location requirements for localized MD files in a walkthrough. Those requirements are implied here: microsoft/vscode#129461 (comment)

Converted the walkthrough MD files into HTML fragments. Though it should also be possible to author them as HTML files, with HTML and BODY tags intact - it should automatically strip those.

Adds support for data-loc-hint and data-loc-hint-<attribute> attributes, to also allow translation hints/comments to be provided within HTML files.

@Colengms Colengms changed the title Enable localization of walkthrough MD files (provided they are actually HTML fragments) Enable localization of walkthrough MD files (provided they are actually HTML) Jul 29, 2021
@Colengms Colengms merged commit bdbbfd3 into main Jul 29, 2021
@Colengms Colengms deleted the coleng/walkthrough_loc branch July 29, 2021 22:02
@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants