• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

STYLES - language handling

Scheduled Pinned Locked Moved Developers' Forum
1 Posts 1 Posters 415 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    artmusicstudio
    last edited by 19 Jan 2017, 16:11

    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 here

    not-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

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement