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
[Recreation of bug #2455 from Jan 9, which got lost in the disk crash around Jan 29. Newest backup data is from Jan 5, around 4 AM. Recreation based on bugzilla mails received by me. If there are more comments, please add to this bug by copying in text from old e-mails.]
Today, xml to lexc lexicon conversion uses the xsl script
giella-core/scripts/xsl/generate_lex-fileVM.xsl in the following way
It is the same script for all lgs
It picks the fin translation
It picks the whole translation
We want:
a makefile condition saying:
if the generate_lex-fileVM.xsl exists in $LANG/src/scripts, use that
if not, use the one in giella-core
For the local script to be made in mhr (and elsewhere ad lib),
a. ask for eng, and not fin translations
b. if eng does not exist, ask for fin (i.e. have a fallback)
c. do not take the whole translation , but cut at the first "," or ";"
d. remove any content in parenthesis before this comma
[Original comment on bug report from Jack Rueter on Jan 11]
(In reply to Trond Trosterud from comment #0)
Today, xml to lexc lexicon conversion uses the xsl script
giella-core/scripts/xsl/generate_lex-fileVM.xsl in the following way
It picks the fin translation
It picks the whole translation
CORRECTION to what the script does:
2. It picks the fin translation (tg) of the first mg element
3. It picks only the first t element content
We want:
a makefile condition saying:
if the generate_lex-fileVM.xsl exists in $LANG/src/scripts, use that
if not, use the one in giella-core
For the local script to be made in mhr (and elsewhere ad lib),
a. ask for eng, and not fin translations
b. if eng does not exist, ask for fin (i.e. have a fallback)
c. do not take the whole translation , but cut at the first "," or ";"
d. remove any content in parenthesis before this comma
It would be even BETTER if there were a possibility to select other languages,
too, i.e. someone might want to use fra or rus.
This issue was created automatically with bugzilla2github
Bugzilla Bug 2462
Date: 2018-05-06T16:49:26+02:00
From: Sjur Nørstebø Moshagen <<sjur.n.moshagen>>
To: Sjur Nørstebø Moshagen <<sjur.n.moshagen>>
CC: borre.gaup, chiara.argese, ciprian.gerstenberger, ftyers, rueter.jack
Last updated: 2018-05-07T08:03:43+02:00
The text was updated successfully, but these errors were encountered: