{"id":35316568,"url":"https://github.com/sillsdev/xliffforhtml","last_synced_at":"2026-04-01T20:20:37.227Z","repository":{"id":23737750,"uuid":"99713361","full_name":"sillsdev/XliffForHtml","owner":"sillsdev","description":"program for extracting xliff 1.2 from tagged html or injecting translations from xliff 1.2 into tagged html","archived":false,"fork":false,"pushed_at":"2025-07-29T18:03:37.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-03-28T00:11:46.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sillsdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-08-08T16:24:50.000Z","updated_at":"2022-06-06T18:07:30.000Z","dependencies_parsed_at":"2023-01-14T10:01:20.407Z","dependency_job_id":null,"html_url":"https://github.com/sillsdev/XliffForHtml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sillsdev/XliffForHtml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2FXliffForHtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2FXliffForHtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2FXliffForHtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2FXliffForHtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sillsdev","download_url":"https://codeload.github.com/sillsdev/XliffForHtml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2FXliffForHtml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-30T18:37:45.676Z","updated_at":"2026-04-01T20:20:37.202Z","avatar_url":"https://github.com/sillsdev.png","language":"C#","readme":"# XliffForHtml\n\nprogram for extracting xliff 1.2 from tagged html or injecting translations from xliff 1.2 into tagged html\n\n## Tagging\n\nElements in the HTML with text that needs to be translated must be tagged with either a\ndata-i18n attribute or an i18n attribute.  The attribute value is used as an id in a trans-unit\nelement of the Xliff file.  (If both attributes exist, the data-i18n value is used.)  This\napproach to localizing an HTML file differs greatly from that suggested by the\n[OASIS XLIFF 1.2 Representation Guide for HTML](http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2-cd02.html),\nbut makes it easier to maintain the localization as the HTML file changes.\n\nNote that attributes with text that needs to be translated cannot be handled by this program.\nOnly text nodes can be translated.  An effort is made to maintain inline markup, but that\nrequires the translator to know how to handle the strange looking XML in the middle of the text\ndata.  How this is displayed to the user depends totally on the editing environment.  The\n\"maximalist\" syntax suggested by\n[OASIS](http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2-cd02.html)\nis followed for these inline elements.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsillsdev%2Fxliffforhtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsillsdev%2Fxliffforhtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsillsdev%2Fxliffforhtml/lists"}