STYLES - language handling
-
edit 170122-found the string-file for style names in the programm-dir........one step further.....
hello,
maybe somebody has an idea for the following problem:in german-skp-version:
-
when i iterate thru model.styles via ruby and display their names,
the styles are shown as following (edit: in ruby concole, not skp-style-menu): -
own styles with user-name or edited styles : name in german
-
original styles (like chosen from style-submenues and un-edited: in english (skp-basic name in [style-name] form
-
in the style menu the name is always shown in german
as soon as i click on the german name in the style menu (top line in the style menu), the style gets converted and will be shown now (ruby-iteration) in german in the ruby console.
NOW:
how can i retrieve the german name for the english name and vice versa via ruby? is it a hash?
the problem is:
i have an input menu, where i can copy the name from the skp-menu and search for the style.
but herenot-edited original styles cannot be found, because
- skp-menu offers the GERMAN NAME (which i copy via c&p)
- ruby iterates in the english namespace and cannot find this style via name-input
any solution or tip?
thanx a lot in advance
stan -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement