@unknownuser said:
What append of the previous version?
We must kill it ? Or the new version overwrite the previous automatically ?
You should be able to just install it over the old version. However you may need to restart Sketchup. Otherwise you could first delete the old version's files but then make sure you haven't made any custom track types or rolling stocks you want to keep.
@aerilius said:
The LanguageHandler has been published too early with an unfinished design and without considering the feedback that ruby developers gave. Since it's now part of the API, I'm not sure if there will ever be changes. It might certainly be "just enough" for new plugins, but it was too limited to make older plugins use it in place of our own translation libraries and many other plugins have also not switched to this new API.
If you are curious how one can translate a webdialog with one single method call, take a look into my Translate.rb (like in AttributeInspector or ToolbarEditor).
That's too bad
. I'll look into your code but I'm not sure what I'll eventually do. Even if all text in the plugin itself is translated titles and description of track types and other content will be in just one language, unless I ask the user for one string in each language.