You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed Wagtail is altering translations in the navbar menu of articles pages by capitalizing it following the English capitalization rules. The example below was taken from https://foundation.mozilla.org/fr/research/library/accelerating-progress-toward-trustworthy-ai/whitepaper/
This capitalization is wrong in French and in most languages outside English. The correct capitalization is the one displayed below Accélérer le développement d’une IA digne de confiance
Hi,
I noticed Wagtail is altering translations in the navbar menu of articles pages by capitalizing it following the English capitalization rules. The example below was taken from https://foundation.mozilla.org/fr/research/library/accelerating-progress-toward-trustworthy-ai/whitepaper/
![](https://private-user-images.githubusercontent.com/1294206/313769869-60fc25e7-eb46-4b47-b265-102f4cde85fc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1MTgyOTUsIm5iZiI6MTcyMDUxNzk5NSwicGF0aCI6Ii8xMjk0MjA2LzMxMzc2OTg2OS02MGZjMjVlNy1lYjQ2LTRiNDctYjI2NS0xMDJmNGNkZTg1ZmMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDlUMDkzOTU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmU5MjNlNDlmMDI5N2Q3ZmI4YzcyYTQ2NjVmMTgyMjJkOTA5ZDViMDhmMWM5ZTMyOGY0NGQ2N2JlMDdmNjc0NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.A0lO-Yu1kVLEILBVlfFT0---Q5pgZJ1mKXuH0_fKZF0)
This capitalization is wrong in French and in most languages outside English. The correct capitalization is the one displayed below
Accélérer le développement d’une IA digne de confiance
We need to add a conditional so that
tw-capitalize
is only added for the English page and removed from the other locales in https://github.com/MozillaFoundation/foundation.mozilla.org/blob/main/network-api/networkapi/wagtailpages/templates/fragments/article_subnav.html#L7┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: