Hi Guys,
I am creating Mockups for an Android Application.
Everything is working very well!
But now I want to define the multi language stuff.
I first thought to create sub layer to the main layer with the language codes "EN", "DE", "FR" and so on.
But it is not possible to move an sub object of an group into another layer.
what do you propose, how I could easily switch the languages without ungrouping everything?!?
Sub Group - Multi layering...
Re: Sub Group - Multi layering...
Separate the translatables from the non-translatables (this should be easy, if you made all texts readable i.e. not covered by anything else).
Then you can easily copy only those parts that need translation into separate layers.
(Layers are just groups, and groups can only be correctly nested, just like html tags, so you need to adapt your grouping to work with this)
Then you can easily copy only those parts that need translation into separate layers.
(Layers are just groups, and groups can only be correctly nested, just like html tags, so you need to adapt your grouping to work with this)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Sub Group - Multi layering...
Hello
It's an interesting feature what you want
You can add a "class" attribute to svg objects and it works similar to class attribute to html.
There is also a "switch" atribute that I remember have seen, at least in the W3's webpage.
However, Inkscape doesn't have a related interface to those attributes. Well, just the XML editor, and the Search and Replace toolbox.
Last time I saw it, Ponyscape had more features related to objects classification. You had the option of tagging them.
http://ponyscape-vectors.deviantart.com/
If possible, share a sample of what you want, to have more ideas or a workaround.
Greetings
It's an interesting feature what you want
You can add a "class" attribute to svg objects and it works similar to class attribute to html.
There is also a "switch" atribute that I remember have seen, at least in the W3's webpage.
However, Inkscape doesn't have a related interface to those attributes. Well, just the XML editor, and the Search and Replace toolbox.
Last time I saw it, Ponyscape had more features related to objects classification. You had the option of tagging them.
http://ponyscape-vectors.deviantart.com/
If possible, share a sample of what you want, to have more ideas or a workaround.
Greetings
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
Re: Sub Group - Multi layering...
Jabier had started to implement the switch, I don't know what the current status is, though - I think there was a problem with nobody else supporting it...
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Sub Group - Multi layering...
example screenshot of app mockups with language arease, that should be language switchable...
- Attachments
-
- android-app-mockup-multilang-example.jpg (138.92 KiB) Viewed 2073 times
Re: Sub Group - Multi layering...
Thanks. I see a little more now.
You have to duplicate those language specific sublayers for many GUI element of your mockup....
mmm...
- As I said before, besides its crazy name, I remember that Ponyscape had some more features about classification and its handling. But You have to see if it works to you.
- Again, Adding a class attribute may help in selection of objects. It exists a extension in 0.91 that helps with that (in Stylesheet). So a workaround could be:
- Make all the texts of the UI mockup an put them in their respective layers
- Select them all with the help of the selection tools
- Add them to a class with the help of the merge styles extension
- Duplicate the selection
- Change the class name to this selection
- If you want Change the opacity of all of them
- Now, to modify those texts, could it be better to use a text editor, or an xml-html editor. One which can mark, bookmark or tag by class name.
I recognize it has many steps. It may involve human errors.
Moini:
About that switch implementation, I hope to test it some day. From what I've seen from other software:
- In synfig a "Switch" object is a special kind of group object. It shows a object which is inside him, from a list of objects. It will be good that the user could choose from the graphic interface, which object the switch function will show.
- By the way, Is it possible to have a developing version of Inkscape on Linux, running parallel with the installed version??
You have to duplicate those language specific sublayers for many GUI element of your mockup....
mmm...
- As I said before, besides its crazy name, I remember that Ponyscape had some more features about classification and its handling. But You have to see if it works to you.
- Again, Adding a class attribute may help in selection of objects. It exists a extension in 0.91 that helps with that (in Stylesheet). So a workaround could be:
- Make all the texts of the UI mockup an put them in their respective layers
- Select them all with the help of the selection tools
- Add them to a class with the help of the merge styles extension
- Duplicate the selection
- Change the class name to this selection
- If you want Change the opacity of all of them
- Now, to modify those texts, could it be better to use a text editor, or an xml-html editor. One which can mark, bookmark or tag by class name.
I recognize it has many steps. It may involve human errors.
Moini:
About that switch implementation, I hope to test it some day. From what I've seen from other software:
- In synfig a "Switch" object is a special kind of group object. It shows a object which is inside him, from a list of objects. It will be good that the user could choose from the graphic interface, which object the switch function will show.
- By the way, Is it possible to have a developing version of Inkscape on Linux, running parallel with the installed version??
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
Re: Sub Group - Multi layering...
@hulf2012: the (language) switch element is in the SVG specs: https://developer.mozilla.org/de/docs/W ... ent/switch and works exactly like you explained, yes.
About the second question: yes, of course. I have decided to do this using a chroot environment, so I can use the ppa and do not need to compile myself, but there are several more options. Here's my guide for the chroot: https://inkscape.org/en/~Moini/%E2%98%8 ... n-on-linux
About the second question: yes, of course. I have decided to do this using a chroot environment, so I can use the ppa and do not need to compile myself, but there are several more options. Here's my guide for the chroot: https://inkscape.org/en/~Moini/%E2%98%8 ... n-on-linux
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Sub Group - Multi layering...
Moini:
I think it will be good if you post this tutorial in the forum... because I have doubts with step 3. I use Ubuntu for years, ... but There are lot of things I don't know. And this is off topic now.
I think it will be good if you post this tutorial in the forum... because I have doubts with step 3. I use Ubuntu for years, ... but There are lot of things I don't know. And this is off topic now.
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
Re: Sub Group - Multi layering...
@hulf: if your home directory is in the same partition as your operating system files, then you can create the new directory in /home/hulf2012 (or whatever the real user name would be
) and it should work - because the partition with the OS files allows code execution and is - hopefully - also a real device.

Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Sub Group - Multi layering...
@hulf: longer version now available here: http://vektorrascheln.de/posts/2016/Feb ... -side.html
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)