Multilingual SVG

Hi All. I want to improve switch work, to find a way to handle multilenguage SVG's. I try to explain whats in my mind to be improved with your thoughts.
*current document is the default document. *When add a new lang, all contents is cloned/copied into a switch into his target lang. *I think clones are paths, ellipses, stars.... and copies are text elements and groups *Default document is moved to the default lang in switch. *Currently inkscape show the switch in current system lang, this behabiour is good for a viewer but we need a switcher for diferent langs, so the user pick the lenguage to use and inkscape reloads with this lang.
Waiting to start, J.

On Tue, 2015-05-05 at 22:37 +0200, Jabiertxo Arraiza Cenoz wrote:
Hi All. I want to improve switch work, to find a way to handle multilenguage SVG's. I try to explain whats in my mind to be improved with your thoughts.
*current document is the default document. *When add a new lang, all contents is cloned/copied into a switch into his target lang. *I think clones are paths, ellipses, stars.... and copies are text elements and groups *Default document is moved to the default lang in switch.
I don't think it is a good idea to move the entire document into the switch. This would mean the entire document is duplicated, making the document larger than necessary. It would also make editing the document more difficult.
It would be better to duplicate only text elements. Or better, duplicate only selected text elements (this would allow things like numbers not to be duplicated). I suppose that one could also allow objects to be selected and duplicated too (for text in a box, I could imagine that the size of a rectangle might be changed to accommodate text that is different sizes in different languages).
*Currently inkscape show the switch in current system lang, this behabiour is good for a viewer but we need a switcher for diferent langs, so the user pick the lenguage to use and inkscape reloads with this lang.
Switches will need to be added to the Objects dialog so that they can be turned on/off while editing. It might be good to have a language selector in the Objects dialog.
Tav

OK seems much beter. try it when alowed. Regards, Jabier.
On Wed, 2015-05-06 at 09:46 +0200, Tavmjong Bah wrote:
On Tue, 2015-05-05 at 22:37 +0200, Jabiertxo Arraiza Cenoz wrote:
Hi All. I want to improve switch work, to find a way to handle multilenguage SVG's. I try to explain whats in my mind to be improved with your thoughts.
*current document is the default document. *When add a new lang, all contents is cloned/copied into a switch into his target lang. *I think clones are paths, ellipses, stars.... and copies are text elements and groups *Default document is moved to the default lang in switch.
I don't think it is a good idea to move the entire document into the switch. This would mean the entire document is duplicated, making the document larger than necessary. It would also make editing the document more difficult.
It would be better to duplicate only text elements. Or better, duplicate only selected text elements (this would allow things like numbers not to be duplicated). I suppose that one could also allow objects to be selected and duplicated too (for text in a box, I could imagine that the size of a rectangle might be changed to accommodate text that is different sizes in different languages).
*Currently inkscape show the switch in current system lang, this behabiour is good for a viewer but we need a switcher for diferent langs, so the user pick the lenguage to use and inkscape reloads with this lang.
Switches will need to be added to the Objects dialog so that they can be turned on/off while editing. It might be good to have a language selector in the Objects dialog.
Tav
participants (3)
-
Jabier Arraiza
-
Jabiertxo Arraiza Cenoz
-
Tavmjong Bah