Hello!
I have a substantial set of string variables (~10,000) that I use for the UI, each localized for the supported languages. I then utilize these reference these variables by name in the Flare project. The common source is a SQL database that I output to CSV that is utilized by the UI. I need to convert the CSV (or Excel) file to a properly formatted Flare variable set (*.flvar file).
Anyone have a VBA or other script to convert either CSV or Excel files to flvar files?
Thank you!
Chris
Exporting Excel (xls*) to Flare Variable Set (flvar)
-
doc_guy
- Propellus Maximus
- Posts: 1979
- Joined: Tue Nov 28, 2006 11:18 am
- Location: Crossroads of the West
- Contact:
Re: Exporting Excel (xls*) to Flare Variable Set (flvar)
This is messy, but you could insert columns into the Excel file and in the columns include the XML text that you need before the variable name and definition. Then copy the data of those columns down. Then export the whole thing as a csv with a custom csv delimiter (space).
I think that would work.
I think that would work.
-
jasonsmith
- Sr. Propeller Head
- Posts: 205
- Joined: Wed Apr 28, 2010 2:51 am
Re: Exporting Excel (xls*) to Flare Variable Set (flvar)
Could you save your Excel file as a XML file and then perform an xsl Transformation? I've done this a couple of times and it usually works pretty well.
-
msander
- Jr. Propeller Head
- Posts: 8
- Joined: Tue Sep 30, 2014 12:06 am
- Location: Sweden, Denmark
- Contact:
Re: Exporting Excel (xls*) to Flare Variable Set (flvar)
Hi,
Here's a simple spreadsheet you can use: https://dl.dropboxusercontent.com/u/437 ... leSet.xlsx
The animated GIF shows how to use it.
Good luck!
Mattias

Here's a simple spreadsheet you can use: https://dl.dropboxusercontent.com/u/437 ... leSet.xlsx
The animated GIF shows how to use it.
Good luck!
Mattias

Re: Exporting Excel (xls*) to Flare Variable Set (flvar)
Thank you Mattias! This is awesome.
