Closed Bug 762097 Opened 12 years ago Closed 10 years ago

l10n: "Add translation" link on non-english pages

Categories

(developer.mozilla.org Graveyard :: Localization, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: groovecoder, Unassigned)

Details

(Whiteboard: [localization])

There's code in wiki/templates/wiki/document.html to adjust the translate_url to the parent doc's translate url as needed. We should also check the is_localizable field of the parent.

Adjust tests for this too.
Version: Kuma → unspecified
Component: Docs Platform → Editing
No longer blocks: 756266
Whiteboard: [localization]
Component: Editing → Localization
This is likely a change that our community could handle. Luke, is the description still accurate?
Flags: needinfo?(lcrouch)
Actually, this is fixed via https://github.com/mozilla/kuma/blob/master/apps/wiki/templates/wiki/includes/document_macros.html#L30-L54. I'll use this bug to clean up these old translate_url uses.
Flags: needinfo?(lcrouch)
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/a595e6ed7f0c1f096b3002752bf6db624f067d87
fix bug 762097 - remove un-used translate_url vars

https://github.com/mozilla/kuma/commit/af3100b4898bf93502e1414a3ac4210e6cca8e34
Merge pull request #2139 from groovecoder/translate_url-762097

fix bug 762097 - remove un-used translate_url vars
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.