|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| JAR - Wish list for software localization tool - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
MagicFX Member
|
Is it possible to localized .jar without eclipse or JBuilder project? Attachment: jar.png (Downloaded 21 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Yes. This feature is already in Sisulizer. Sisulizer extract all .properties and image files from JAR file and let you localize them. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
In this case, JFLAP contains not only images but also plain texts, but Sisulizer just extracts images.
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Can you attach the JAR file here or send it to support (at) sisulizer.fi Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
http://www.jflap.org/jflaptmp/ Th download link
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
This JAR file does not cointain any .properties file. Either it has not been internationalized or then it uses .java resource bundles instead of .properties. Applicaiton must use .properties resources in order to make binary localization possible. This is because .java properties are compiled to .class file and thay can not (easily, without decompilation) be localized. We choose not to support decompilation of .class files because the localization engineer must have proper rights for the software and if he or she has he or she can get the original resource source (.java). Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
Can you recommand some useful tools to decompile .jar?
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
JAR file is a zip file so you can use any ZIP tool to decompress it. JAR files contain compiled Java class files (.class). You can use Java decompiler to decompile them to .java files. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
Jaakko.Salmenius wrote: This JAR file does not cointain any .properties file. Either it has not been internationalized or then it uses .java resource bundles instead of .properties. hmmmm.....it may be true that to inform authers before localization but sometimes authors are disappeared or hard to contact.
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Localization without premission is not the big problem but if we use reverse engineering that decompiles it without permission it is violation againts copyrights. This is why Sisulizer does not do it. If somebody want to do that for JAR they can do following: 1) Unzip the JAR to .class files 2) Decompile .class files to .java files 3) Use Sisulizer to localize the .java files 4) Compile the localized .java files to .class files 5) Use JAR tool to add localized .class file to the JAR file Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
It may sound feasible to deompile jar and recompile java resources to .class but it's really a hord work in practice First, You must decomile every class file Attachment: dede.png (Downloaded 10 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
then add new classes in JBuilder Project Attachment: new_class.png (Downloaded 10 times)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
check the class name Attachment: classname.png (Downloaded 10 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
and paste it to JBuilder then build Attachment: paste.png (Downloaded 11 times)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
If you have lots of class to decompile, you will be crazy! That's why I hope sisulizer can decompile JAR Attachment: class_sea.png (Downloaded 10 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Markus.Kreisel Administrator
|
Hi MagicFX, you have to remember that Sisulizer is mainly a tool for developers which have access to their source code. Best Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
Sisulizer software localization tool - Three simple steps to localize