Bug: Incorrect language used in figure caption headers
Pavel Sanda
sanda at lyx.org
Sat Mar 1 23:14:59 UTC 2025
On Sat, Mar 01, 2025 at 10:37:43PM +0200, Matti Lehtonen wrote:
> I am writing a document in Finnish with some figures. In LyX, the figure
> caption headers are correctly in Finnish (except Sub-Kuva - subfigure), but
> the generated PDF uses incorrect English caption headers.
Can you share example document showing your problem?
When I create new document, change language to Finish
I see figure caption ni PDF as Kuva which is ok.
Do you have babel-finish installed?
Part of my latex log shows:
...
) (/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2022/12/26 3.84 The Babel package
\babel at savecnt=\count269
\U at D=\dimen152
\l at unhyphenated=\language60
(/usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def)
\bbl at readstream=\read2
\bbl at dirlevel=\count270
(/usr/share/texlive/texmf-dist/tex/generic/babel-finnish/finnish.ldf
Language: finnish 2021/02/06 v1.3s Finnish support from the babel system
Package babel Info: Making " an active character on input line 85.
)) (/usr/share/texlive/texmf-dist/tex/generic/babel/locale/fi/babel-finnish.tex
Package babel Info: Importing font and identification data for finnish
(babel) from babel-fi.ini. Reported on input line 11.
...
> 2) in preview UI, instead of Sub-Kuva (subfigure) caption, Alikuva is used
> as caption header
I am afraid that the subfigure caption is translated Sub-X in all
languages and we don't have specific string for that.
But we notably lack review of few Finish translations of strings
we put in pdf. Would you mind do that review for us?
These are:
"List of Listings"
"Nomenclature[[output]]"
"see equation[[nomencl]]"
"page[[nomencl]]"
"Notes[[Endnotes]]"
(our other pdf translations can be seen at
https://www.lyx.org/trac/browser/lyxgit/lib/layouttranslations
see "Translation fi" section for others.)
Providing translation would allow us to translate these correctly for lyx 2.5.
Pavel
More information about the lyx-devel
mailing list