Closed Bug 792418 Opened 8 years ago Closed 8 years ago
When translating an article, create the translation's topical hierarchy
using the source article's topical hierarchy. If source article's ancestors have translations, use those. If source article's ancestors DO NOT have translations, create un-translated stubs and use those. See https://bugzilla.mozilla.org/show_bug.cgi?id=788823 for more discussion and research.
Starting to circle this one and bug 792417
Assignee: nobody → lorchard
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/00df363637086b027eb83d9b7f19136878706567 fix bug 792418: Build sensible default topic structure for translations * If a translation doesn't have a topic parent, attempt to assign one for it: * If the document on which the translation is based has a topic parent, look for the translation of that topic parent in the current locale and use it. * If the document on which the translation is based has a topic parent, but that topic parent has not yet been translated, auto-clone a stub translation in the current locale and use it. * All the above wrapped in a utility method in anticipation of bug 792417 * Tests https://github.com/mozilla/kuma/commit/31a62148a5a6642810c0315c670ceaa4071edf02 bug 792418: Small pep8 formatting tweaks https://github.com/mozilla/kuma/commit/0f1887de0fa75c378b76b12de45a2af4bb80c629 Merge pull request #620 from lmorchard/792418-l10n-topic-parent fix bug 792418: Build sensible default topic structure for translations
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
verified fixed https://developer.allizom.org/fr/docs/HTML/time
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.