Cockpit with french language = white page

Hi,
since this week, cockpit only shows a white page when french language is selected. There is only the main menu on the left side.
English language is OK.

So there must be an issue with the translation package.

Arnaud

Please do you see something in the web browser console (press F12)

I get the blank page with French language in Firefox 81.0.1 (64-bit) in Windoze 10.

Text version
Content Security Policy: The page’s settings blocked the loading of a resource at data: (“default-src”).
domPolicy 
Object { permissions: {…}, cascaded: false, navigationURL: "https://server.example.org:9090/nethserver" }
sandbox eval code:14:19
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. nethserver
Content Security Policy: The page’s settings blocked the loading of a resource at data: (“default-src”).
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. index.html
downloadable font: kern: Too large subtable (font-family: "Open Sans" style:normal weight:400 stretch:100 src index:0) source: https://server.example.org:9090/cockpit/static/fonts/OpenSans-Regular-webfont.woff
downloadable font: Table discarded (font-family: "Open Sans" style:normal weight:400 stretch:100 src index:0) source: https://server.example.org:9090/cockpit/static/fonts/OpenSans-Regular-webfont.woff
downloadable font: kern: Too large subtable (font-family: "Open Sans" style:normal weight:600 stretch:100 src index:0) source: https://server.example.org:9090/cockpit/static/fonts/OpenSans-Semibold-webfont.woff
downloadable font: Table discarded (font-family: "Open Sans" style:normal weight:600 stretch:100 src index:0) source: https://server.example.org:9090/cockpit/static/fonts/OpenSans-Semibold-webfont.woff
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. jquery.js:7110:16
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. index.html
grep: /sys/class/dmi/id/power/autosuspend_delay_ms: Erreur d'entrée/sortie
cockpit.js:589:36
PackageKit went away from D-Bus system.js:43:55097
Checking for available updates failed: not-found 2 system.js:43:95646
Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/system/system.js
Source Map URL: system.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/base1/cockpit.js
Source Map URL: cockpit.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/base1/jquery.js
Source Map URL: jquery.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/base1/cockpit.js
Source Map URL: cockpit.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/system/system.js
Source Map URL: system.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/base1/jquery.js
Source Map URL: jquery.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/base1/jquery.min.js
Source Map URL: jquery.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/base1/cockpit.min.js
Source Map URL: cockpit.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/performance/performance.js
Source Map URL: performance.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/domain/domain.js
Source Map URL: domain.min.js.map

Source map error: Error: request failed with status 404
Resource URL: https://server.example.org:9090/cockpit/$30ea8402aa3fbd612ec85ff32c4e2e1ff06905b67d65e87e26456aea8b1da6dd/shell/index.js
Source Map URL: index.min.js.map

Chrome (Windows 10, Version 86.0.4240.75 64-bit) keeps English no matter which language I select for Cockpit or Chrome even after relogin but this could be another bug.

Hi,
firefox 81.0 on Ubuntu20

The issue is not older than 1 week: I could make some settings via cockpit at the beginning of this week.
Bye
Arnaud

1 Like

Hello arnaud

When you open the developer tools of firefox, go to the console tab, you are checking the inspector

https://www.transifex.com/nethserver/nethserver/translate/#fr_FR/CockpitCore/302802097?q=text%3A’When+connecting+to+a+shared+folder%2C+the+NetBIOS’

There was an error, I fixed it it now we have to build and release the rpm, I will speak to the translator, he used "" in translation and also special caracters

Lors de la connexion à un dossier partagé, le nom de domaine NetBIOS doit être préfixé par le nom d'utilisateur (c'est-à-dire "MONDOMAINE⏎omutilisateur") ou inséré dans le champ de formulaire spécifique.
3 Likes

fix is done

2 Likes

… and it works perfectly! :star_struck:
Many thanks Stéphane.

Salut Stéphane,

I confirm, with nethserver-lang-cockpit-1.4.6-1.ns7, no more white page.

Thank you Stéphane,

Michel-André