Skip to content

Conversation

nickshulman
Copy link
Contributor

I have started the work of making the "ResourcesOrganizer" read localized strings from HTML files.

I copied just the "Data Independent Acquisition" tutorial from PR #3097.
I changed the folder layout a little so that there are three sibling folders for the languages: "en", "ja", and "zh-CHS".
Also, the name of the HTML file in each folder is "index.html".

In the localized folders, there is also a new HTML file called "invariant.html" which is the HTML file that the localized index.html was translated from.

In theory, the ResourcesOrganizer tool will be able to compare "ja/invariant.html" with "en/index.html" and figure out which paragraphs need to be sent to the localizers for re-translation.

@brendanx67
Copy link
Contributor

Note that I have a strong desire to a have the HTML file(s) sort tot the top of the file list by default in these folders. Sadly, index.html still comes after image-##.* We can always name the images z-image-##.* Just keep this in mind as we design these folders.

Also, I want the folder names to match the shorter names we are using on the website which we combine with a version number for the PDF files, and also we use them for the covershot images. Probably we should add this name as an attribute to the test function and add a mode in SkylineTester that allows you to view the tutorials by these names to make the link between tests and tutorial documents clearer.

Nicholas Shulman and others added 4 commits August 4, 2024 12:43
…t the "invariant.html" files match the "index.html" files in the localized folders under pwiz_tools/Skyline/Documentation/Html/Tutorials
@nickshulman
Copy link
Contributor Author

I'll create a different pull request for this.

@brendanx67 brendanx67 deleted the Skyline/work/20240802_HtmlResourcesOrganizer branch January 3, 2025 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants