hi all
I have a category collection and each category has a array of hashes containing attributes names and units to create a inout form with, to add a product of that category.
for example category car fields - {name : length, unit : mm}, {name : weight, unit : kg}.
Problem is i would this site to be multi-lingual and therefore need to store the field names per language.
I could put them inline :
for example category car fields - {en-name : length, cn-name : ....., de-name : ....., unit : mm}
Is there a better way ?
Not sure if this is best way as i want to be able to pass a docuement of names needing to be translated to the translator for all field names for all categories, so storing this way i would have to grab all then put into another docuement then translate and inset new translated naes back!!!
Any help or ideas ?
Thanks rick