Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Localization Problem

Tested your properties file and everything looks fine, except the "3"
at the end of your product.name property ;)

What I've done : added your properties file to net.refractions.udig
plugin updated the build.properties file as well and added the
following line to the launch configuration of your product file -
because I have an other default language set ;)

<launcherArgs>
    <programArgs>-nl zh_TW</programArgs>
    ...
</launcherArgs>

IN addition if you often change your properties change your run
configuration (menu -> Run configurations...) as follows:

Main Tab : activate  clear workspace option
Configuration tab : activate "clear configuration area before launching"

Cheers,
Frank

2012/6/25 Yu Lang Chiang <seanexplus@xxxxxxxxx>:
>
> For example ,here is the plugin_zh_TW.properties and build.properties file
> in net.refraction.udig plugin. , When i changed the product.name in the
> plugin_zh_TW.properties,  rebuilded, run the program...... The title of main
> window didn't follow the modification.
>
> I'm using eclipse-modeling-indigo-SR2-win32, and i have tried to export the
> product.....but encounter the Out of Memory error. So I can only start uDig
> out of Eclipse IDE
> Here is my eclipse.ini setup
>
> -vm D:\uDig\eclipse\jre\bin\javaw.exe
> -startup
> plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
> -product
> org.eclipse.epp.package.modeling.product
> --launcher.defaultAction
> openFile
> --launcher.XXMaxPermSize
> 512M
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 512m
> --launcher.defaultAction
> openFile
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx1152M.
>
>
> 2012/6/25 Frank Gasdorf <fgdrf@xxxxxxxxxxxxxxxxxxxxx>
>>
>> can you please post the properties file and the information where you
>> have put it into? In addition please provide the build.properties file
>> so we can cross check.
>>
>> BTW: Have you exported the product or do you start uDig out of Eclipse
>> IDE? Which Eclipse version do you use?
>>
>> Cheers,
>> Frank
>>
>> 2012/6/25 Yu Lang Chiang <seanexplus@xxxxxxxxx>:
>> > I had checked these build.properties before, but it didn't work. I guess
>> > it's a eclipse problem? It seems some old file be cached in somewhere i
>> > don't know. So my modification doesn't show up.
>> >
>> >
>> > 2012/6/25 Frank Gasdorf <fgdrf@xxxxxxxxxxxxxxxxxxxxx>
>> >>
>> >> Please check your build.properties of he plugin-project and add the
>> >> new properties file if not already added.
>> >>
>> >> Cheers,
>> >> Frank
>> >>
>> >> 2012/6/25 Yu Lang Chiang <seanexplus@xxxxxxxxx>:
>> >> > I tried clean before build......didin't work. But if i modify
>> >> > plugin.xml
>> >> > in
>> >> > net.refraction.udig project, all new modification show up...... It's
>> >> > strange, but works. Thank you anyway.
>> >> >
>> >> >
>> >> > 2012/6/25 Ömür Yavuz <omur.yavuz@xxxxxxxxx>
>> >> >>
>> >> >> You may do clean before build
>> >> >>
>> >> >> 25 Haz 2012 01:31 tarihinde "Yu Lang Chiang" <seanexplus@xxxxxxxxx>
>> >> >> yazdı:
>> >> >>>
>> >> >>> I try to localize the gui of uDig into tranditional chinese. I
>> >> >>> follow
>> >> >>> the
>> >> >>> instructions of the development document, add new
>> >> >>> plugin_zh_TW.properties
>> >> >>> files and make the application running in trandictional chinese
>> >> >>> locale
>> >> >>> successfully......in the first time. Then i modify some content in
>> >> >>> the
>> >> >>> properties file, rebuild the program.....but the modification
>> >> >>> doesn't
>> >> >>> show
>> >> >>> up? Could someone help me to find out where the problem is?
>> >> >>>
>> >> >>> _______________________________________________
>> >> >>> User-friendly Desktop Internet GIS (uDig)
>> >> >>> http://udig.refractions.net
>> >> >>> http://lists.refractions.net/mailman/listinfo/udig-devel
>> >> >>>
>> >> >>
>> >> >> _______________________________________________
>> >> >> User-friendly Desktop Internet GIS (uDig)
>> >> >> http://udig.refractions.net
>> >> >> http://lists.refractions.net/mailman/listinfo/udig-devel
>> >> >>
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > User-friendly Desktop Internet GIS (uDig)
>> >> > http://udig.refractions.net
>> >> > http://lists.refractions.net/mailman/listinfo/udig-devel
>> >> >
>> >> _______________________________________________
>> >> User-friendly Desktop Internet GIS (uDig)
>> >> http://udig.refractions.net
>> >> http://lists.refractions.net/mailman/listinfo/udig-devel
>> >
>> >
>
>

Attachment: zh_TW-screen.png
Description: PNG image


Back to the top