2022-12-08 10:47 PM
I sucessfuly exported texts.xml with translations.rb
but when I try to import .xlsx back to .xml. I get the error sheet Typography not found!?
> translations.rb import texts.xlsx texts.xml
sheet 'Typography' not found
An error occurred during translations import!
Bellow are the files used
Solved! Go to Solution.
2023-02-06 08:32 AM
Hi,
Could not be the problem in swapped .xml and .xlsx extentions in your command ?
Here is what my system shows:
Also, my conversions run without .xsd file present.
2022-12-08 11:33 PM
Hi,
Could you share which TouchGFX version you are working with ? Are you sure you are working in the correct folder/path ? (since the error message says that it cannot find Typography tool)
/Romain
2022-12-08 11:34 PM
I am working with TouchGFX 4.20.0
2022-12-08 11:42 PM
I copied the texts.xml and texts.xlsx to the folder where TouchGFX is installed where the translations.rb file is:
(..\TouchGFX\4.20.0\touchgfx\framework\tools\textconvert)
Then I run the command:
ruby translations.rb import texts.xlsx texts.xml
2022-12-09 12:03 AM
I copied the texts.xml and texts.xlsx to the folder where TouchGFX is installed where the translations.rb file is:
(..\TouchGFX\4.20.0\touchgfx\framework\tools\textconvert)
Then I run the command:
ruby translations.rb import texts.xlsx texts.xml
2022-12-09 12:06 AM
2022-12-09 01:49 AM
Did you found any solution. I think I am in the corect path/folder because export works fine. Also the error sais it cannot find typography sheet not tool, or is this the same?
2022-12-12 06:27 AM
Found the solution.
It is necesary to copy also the texts.xsd file to the path. This was not clearly specified in the documentation.
2023-02-06 08:32 AM
Hi,
Could not be the problem in swapped .xml and .xlsx extentions in your command ?
Here is what my system shows:
Also, my conversions run without .xsd file present.