adobe / adobe/fedpub

[Translation] Adjust links automatically

Open
#131 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Links to other pages need to be adjusted automatically. See all details in #129

a. The agency Alicia is working with provides already today a link mapping spreadsheet. We could leverage that - we can define the format.
b. The tracker document could be extended to contain a default sheet with URL / locale mapping and a sheet per locale that contains the link mapping rules
c. The logic could be: a simple mapping source link -> destination link. If the source url is not in the list, replace the country / language in the url by the new one
d. The link transformation would happen client side after the files have been save to Sharepoint:
- read the mapping sheet
- for each file and each locale, preview, fetch md, apply link replacement rules, save as Word, override Word file

e. This might be a concern if we run this for 400+ files and 10 locales... (4k search and replace)

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked issue #129 and reviewing the existing tracker document and the agency's link-mapping spreadsheet described here. Define the mapping format and transformation workflow before implementation; done should include a documented approach for applying locale-specific link replacements across generated files and handling the stated scale concern.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
content, localization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.