(Filed on behalf of Guest48 on our QA IRC channel) Reproduction instructions: 1. Downlond and install LibreOffice_25.2.2_Win_x86-64.msi LibreOffice_25.2.2_Win_x86-64_helppack_nb.msi only! 2. Select Hjelp F1 in the Hjelp (Help) menu 3. Select the Writer module Expected results: Step (3.) gets you help on Writer in Norwegian Actual results: Step (2.) is fine, you get: file:///C:/Program%20Files/LibreOffice/help/nb/text/shared/05/new_help.html?System=WIN&DbPAR=WRITER&HID=.uno:HelpIndex#bm_id3806162 which is Norwegian. But step (3.) gets you: File not found Firefox can’t find the file at /C:/Program Files/LibreOffice/help/en-US/text/swriter/main0000.html?DbPAR=WRITER. This is correct, there is no en-US version of the helppack, only Norwegian = nb correcting the search in Firefox gives correct result file:///C:/Program%20Files/LibreOffice/help/nb/text/swriter/main0000.html?DbPAR=WRITER The reporting user asked whether we properly test the validity of help packs,such as the Norwegian one before release?
Nothing to do with Norwegian as such. See at the end of https://help.libreoffice.org/latest/help2.js const lang = existingLang(getParameterByName("Language", href) || navigator.language); So if we don't have Language set as an URL parameter or we don't use a localised web browser, we will fall back to en-US. Maybe we should check the lang attribute of the html element as a fallback before defaulting to en-US?
(In reply to Buovjaga from comment #1) > Maybe we should check the lang attribute of the html element as a fallback > before defaulting to en-US? That is not for me to say, but - if we entertain the possibility of an en-US fallback, that means that that fallback must _exist_. So either we ensure it exists (e.g. package dependencies?) or we avoid the fallback when it's not available. That's what my intuition says.
Created attachment 200827 [details] Testing two documentation errors in two versions of LO
I have retested the access to the local Norwegian Help with two LO versions. First with a separate installation of 25.2.3.2 that now works OK. Surprisingly also the previously negative version 25.2.2.2 unchanged works now in looking up the correct Norwegian Help system. How is that possible? Two days ago it didn't work. see pages 1 and 2 in prev. attachment. =============================== The second reported error of the missing web version of the Norwegian Help system is still unfixed. (Hjelp menu -> Brukerveiledninger “The page you look for does not exist.” https://documentation.libreoffice.org/nb/) - There is a functioning html version for the local installation. Would it be difficult to install it on the documentation page? I am learning the usage of Bugzilla, so the attachment and the report are two separate comments.
(In reply to testerJ0 from comment #4) > I have retested the access to the local Norwegian Help with two LO versions. > First with a separate installation of 25.2.3.2 that now works OK. > > Surprisingly also the previously negative version 25.2.2.2 unchanged works > now in looking up the correct Norwegian Help system. > > How is that possible? Two days ago it didn't work. The problem remains, no matter if it happens to somehow work for you in some circumstance.
My two comments from 2025-05-15 are unfortunately invalid. The errors persist in the fresh version and the stable version. How can I remove them my two previous comments? -----------------------------------------------
(In reply to testerJ0 from comment #6) > My two comments from 2025-05-15 are unfortunately invalid. The errors > persist in the fresh version and the stable version. > > How can I remove them my two previous comments? > ----------------------------------------------- You can't remove them and there is no need to.
Ilmari Lauhakangas committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/af2f7973d5fc5bbf5cd99cc02a450783d34096ea tdf#166353 Simplify getting current language, don't use en-US fallback