XLSX - Filter to read Column A as source and Colmn B as target

4 views
Skip to first unread message

Konstantinos Chatzitheodorou

unread,
Oct 28, 2025, 12:17:11 PM (5 days ago) Oct 28
to okapi-devel
Is there any way to import an XLSX file that has in column A the source text and in column B the target text? For instance:


Name 
Nome

Home 
Casa

Book 
Libro


Chase Tingley

unread,
Oct 28, 2025, 1:21:57 PM (5 days ago) Oct 28
to okapi...@googlegroups.com
Yes, this can be done with the worksheet configurations feature.  I've attached a sample config that works for me with your example.



--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/okapi-devel/e43db845-ceef-4355-8cb5-2ae0e9cc7c12n%40googlegroups.com.
okf_openxml@multi.fprm

Konstantinos Chatzitheodorou

unread,
Oct 29, 2025, 9:20:10 AM (4 days ago) Oct 29
to okapi-devel
Thank you for your reply and for sharing the config file.

I have tasted it, but it doesn't work. Here is the command I used:

/tikal.sh -x Book.xlsx -fc okf_o...@excelConfig.fprm

The output must have the values of column B in fr, given that the XLSX file I have is bilingual.

<group id="P132303AB-sg2" resname="2">
<trans-unit id="P147242AB-tu2" resname="Sheet1!B2" xml:space="preserve">
<source xml:lang="en">Home</source>
<target xml:lang="fr">Home</target>
</trans-unit>
</group>
<group id="P132303AB-sg3" resname="3">
<trans-unit id="P147242AB-tu3" resname="Sheet1!B3" xml:space="preserve">
<source xml:lang="en">Book</source>
<target xml:lang="fr">Book</target>
</trans-unit>
</group>
<group id="P132303AB-sg4" resname="4">
<trans-unit id="P147242AB-tu4" resname="Sheet1!B4" xml:space="preserve">
<source xml:lang="en">Help</source>
<target xml:lang="fr">Help</target>
</trans-unit>

Denis A. Konovalyenko

unread,
Oct 29, 2025, 12:22:01 PM (4 days ago) Oct 29
to okapi...@googlegroups.com

Hi Konstantinos,

Please try out setting extractExcelSourceAndTargetColumnsJoined.b=true

Thanks,

Denis

Konstantinos Chatzitheodorou

unread,
Oct 30, 2025, 10:48:11 AM (3 days ago) Oct 30
to okapi-devel
Hi Denis

extractExcelSourceAndTargetColumnsJoined.b=true  worked!

Thanks a lot
Konstantinos

Reply all
Reply to author
Forward
0 new messages