> Sanda> aha :) i didnt miss it, but it didnt worked the way i would > Sanda> expect: namely if you open a new document, choose Part envi and > Sanda> THEN you change document lang to czech, it remains "Part". but > Sanda> if you open new doc, change lang to czech and THEN choose part > Sanda> envi, then it is correct czech. in other words, once loaded lyx > Sanda> doesnt change these strings. > > Does the following patch fix this?
yes, it does. however (i'm so sorry i cant bring some positive messages to you :) also here, as in the case of wrong encoding of buttons, the encoding of translation is correct only when the language is set in the tools/preferences, although dependence on the document/settings would be correct. and also in the case of changing default language through tools/preferences one has to quit and again run lyx, to get this setting works for newly created documents, which is wrong. > Sanda> 1) when lyx is firstly launched (ie before creating .lyx in > Sanda> home, the font which is set up in the preference for screen > Sanda> font is not in fact loaded. this wont be trouble if it has > Sanda> correct symbols for czech accents, but it has not. When goin to > Sanda> preferences screen font, it is set to "Andale Mono". i have to > Sanda> switch to some other font and than back to Andale to be > Sanda> actually loaded. > >> This is an old known problem, but nobody seems to know what > >> happens :( > > Sanda> what i had experimented is that its dependent, whether there is > Sanda> ~/.lyx/preferences file. in case there is no such file, > Sanda> synchronicity between actual font and preferences dialog is > Sanda> corrupted. > > Does it depend on whether there are font entries in the preference > file? I think by default LyX uses font names like Roman, Sans and > Mono. yes it does. when i remove the entries, which i save in session before, the synchronicity is again corrupted. when i try to edit pref file and set the fonts on Roman, Sans, Mono, the result is the same. so the problem is, that these fonts are not implitictly installed with my Xorg and LyX then choose the alphabetically first font for the preferences dialog. the question is whether there is some way, how lyx can configure itself according to available fonts and even more, whether it can check that the given font contain a proper charset to a given language. if not, then it will be better to keep english splash screen as the screen with inccorect font looks very ugly. the correct fonts here should be e.g. Times(or t.new roman),Lucida,Courier New. but its very probable such setting will break on another box or another language. pavel