Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] eclipse v4.1 localization

ok that is very handy. So to create the localization you just set it up in the externalize strings and the strings are automatically translated into the OSGI-INF folder?

Deirdre.

On Tue, Jun 7, 2011 at 12:09 PM, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote:
You once more open the "launch configuration" and there you should see
an nl-parameter passed (-nl ${target.nl}) change this to -nl de and you
should get at least the parts created by the workbench model in german.

Tom

Am 07.06.11 13:07, schrieb Deidre Stankard:
> oh I see. And to change the language do I change it from
> bundle.properties to bundle_de.properties somewhere before I run the file?
>
> Deirdre.
>
> On Tue, Jun 7, 2011 at 11:59 AM, Tom Schindl
>     It won't at the moment and will fail. The model project though comes
>     with an initial addressbook (.ead).
>
>     Tom
>
>     Am 07.06.11 12:47, schrieb Deidre Stankard:
>     > also when I run the addressbook application and it asked to browse
>     to an
>     > addressbook do you have one created or will I create one to use?
>     >
>     > On Tue, Jun 7, 2011 at 11:42 AM, Deidre Stankard
>     > <deirdrestankard@xxxxxxxxx <mailto:deirdrestankard@xxxxxxxxx>
>     <mailto:deirdrestankard@xxxxxxxxx
>     <mailto:deirdrestankard@xxxxxxxxx>>> wrote:
>     >
>     >     Yes that was the problem. Thanks very much and sorry for taking up
>     >     your time.
>     >
>     >     Regards,
>     >     Deirdre.
>     >
>     >
>     >     On Tue, Jun 7, 2011 at 11:35 AM, Tom Schindl
>     >     <tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>>>
>     >     wrote:
>     >
>     >         No - I'm talking about your "launch configuration" but you
>     could
>     >         probably also fix it the .product-File where you select
>     >         batik.css, hit
>     >         the properties button and enter 1.6.0.
>     >
>     >         Then repeat that with batik.uil, batik.util.gui and afterwards
>     >         recreate
>     >         your launch configuration.
>     >
>     >         Tom
>     >
>     >         Am 07.06.11 12:26, schrieb Deidre Stankard:
>     >         > I am extremely sorry but I cannot seem to find the
>     >         configuration where
>     >         > 1.7.0 is selected.
>     >         > I went to my .product file and then to configurations but
>     >         cannot see
>     >         > anything there. Is that the correct file that I should be
>     >         looking in?
>     >         >
>     >         > Deirdre.
>     >         >
>     >         > On Tue, Jun 7, 2011 at 11:12 AM, Tom Schindl
>     >         > <tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>>>> wrote:
>     >         >
>     >         >     Deidre,
>     >         >
>     >         >     Please keep everything on the mailing list!
>     >         >
>     >         >     *Please read my first answer from today.*
>     >         >
>     >         >     The problem that the application is not coming up is
>     that
>     >         you have the
>     >         >     wrong batik version in your run-configuration!
>     >         >
>     >         >     Just to clarify:
>     >         >     a) The project is created sucessfully
>     >         >     b) The application-model can be opened using the
>     model editor
>     >         >     c) *The only failing thing is when launching because of
>     >         the batik
>     >         >       problem*
>     >         >
>     >         >     Tom
>     >         >
>     >         >     Am 07.06.11 12:08, schrieb Deidre Stankard:
>     >         >     > when I apply a new application model a pop up menu
>     with the
>     >         >     following error:
>     >         >     > 'setup' has encountered a problem.
>     >         >     > An internal error has occurred.
>     >         >     > When I click for more details it gives:
>     >         >     > An internal error has occured.
>     >         >     > java.lang.NullPointerException.
>     >         >     >
>     >         >     > I then just open it with e4workbenchmodel editor
>     and add
>     >         a window
>     >         >     and a
>     >         >     > trimmed window and when I run the following shows
>     up in
>     >         the console:
>     >         >     > !SESSION 2011-06-07 11:07:21.640
>     >         >     > -----------------------------------------------
>     >         >     > eclipse.buildId=unknown
>     >         >     > java.version=1.6.0_02
>     >         >     > java.vendor=Sun Microsystems Inc.
>     >         >     > BootLoader constants: OS=win32, ARCH=x86,
>     WS=win32, NL=en_GB
>     >         >     > Framework arguments:  -product
>     de.vogella.e4.todo2.product
>     >         >     > Command-line arguments:  -product
>     >         de.vogella.e4.todo2.product -data
>     >         >     > C:\Documents and Settings\Deirdre
>     >         >     > Stankard\Desktop\v11/../runtime-Todo2.product -dev
>     >         >     file:C:/Documents and
>     >         >     > Settings/Deirdre
>     >         >     >
>     >         >
>     >
>     Stankard/Desktop/v11/.metadata/.plugins/org.eclipse.pde.core/Todo2.product/dev.properties
>     >         >     > -os win32 -ws win32 -arch x86 -consoleLog
>     >         >     >
>     >         >     > !ENTRY org.eclipse.equinox.app 0 0 2011-06-07
>     11:07:22.906
>     >         >     > !MESSAGE Product de.vogella.e4.todo2.product could not
>     >         be found.
>     >         >     >
>     >         >     > !ENTRY org.eclipse.osgi 2 0 2011-06-07 11:07:22.968
>     >         >     > !MESSAGE One or more bundles are not resolved
>     because the
>     >         >     following root
>     >         >     > constraints are not resolved:
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.968
>     >         >     > !MESSAGE Bundle
>     >         >     >
>     >         >
>     >
>     initial@reference:file:plugins/org.apache.batik.css_1.6.0.v201011041432.jar/
>     >         >     > was not resolved.
>     >         >     > !SUBENTRY 2 org.apache.batik.css 2 0 2011-06-07
>     11:07:22.968
>     >         >     > !MESSAGE Missing required bundle
>     >         org.apache.batik.util_[1.6.0,1.7.0).
>     >         >     >
>     >         >     > !ENTRY org.eclipse.osgi 2 0 2011-06-07 11:07:22.968
>     >         >     > !MESSAGE The following is a complete list of bundles
>     >         which are not
>     >         >     > resolved, see the prior log entry for the root
>     cause if
>     >         it exists:
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Bundle
>     >         org.eclipse.e4.ui.css.core_0.9.0.v20110517-2030
>     >         >     [3] was
>     >         >     > not resolved.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.css.core 2 0 2011-06-07
>     >         11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.apache.batik.css_[1.6.0,1.7.0).
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Bundle
>     >         org.eclipse.e4.ui.css.swt.theme_0.9.0.v20110407-2030
>     >         >     > [11] was not resolved.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0
>     2011-06-07
>     >         >     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.eclipse.e4.ui.css.swt_0.9.1.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0
>     2011-06-07
>     >         >     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.eclipse.e4.ui.css.core_0.9.0.
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Bundle
>     org.apache.batik.css_1.6.0.v201011041432
>     >         [18] was not
>     >         >     > resolved.
>     >         >     > !SUBENTRY 2 org.apache.batik.css 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.apache.batik.util_[1.6.0,1.7.0).
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Bundle
>     >         >     >
>     >         org.eclipse.e4.ui.workbench.renderers.swt_0.9.1.v20110527-2100
>     >         >     [19] was
>     >         >     > not resolved.
>     >         >     > !SUBENTRY 2
>     org.eclipse.e4.ui.workbench.renderers.swt 2
>     >         0 2011-06-07
>     >         >     > 11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         >     org.eclipse.e4.ui.workbench.swt_0.9.0.
>     >         >     > !SUBENTRY 2
>     org.eclipse.e4.ui.workbench.renderers.swt 2
>     >         0 2011-06-07
>     >         >     > 11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         >     org.eclipse.e4.ui.css.swt.theme_0.9.0.
>     >         >     > !SUBENTRY 2
>     org.eclipse.e4.ui.workbench.renderers.swt 2
>     >         0 2011-06-07
>     >         >     > 11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.eclipse.e4.ui.css.core_0.9.0.
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Bundle
>     >         org.eclipse.e4.ui.workbench.swt_0.9.1.v20110520-1530
>     >         >     > [20] was not resolved.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0
>     2011-06-07
>     >         >     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.eclipse.e4.ui.css.core_0.9.0.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0
>     2011-06-07
>     >         >     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.eclipse.e4.ui.css.swt_0.9.0.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0
>     2011-06-07
>     >         >     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         >     org.eclipse.e4.ui.css.swt.theme_0.9.0.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0
>     2011-06-07
>     >         >     11:07:22.984
>     >         >     > !MESSAGE Missing imported package
>     >         org.apache.batik.css.engine_1.6.0.
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Bundle
>     de.vogella.e4.todo2_1.0.0.qualifier [46]
>     >         was not
>     >         >     resolved.
>     >         >     > !SUBENTRY 2 de.vogella.e4.todo2 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         >     org.eclipse.e4.ui.workbench.swt_0.0.0.
>     >         >     > !SUBENTRY 2 de.vogella.e4.todo2 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         >     > org.eclipse.e4.ui.workbench.renderers.swt_0.0.0.
>     >         >     > !SUBENTRY 2 de.vogella.e4.todo2 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         >     org.eclipse.e4.ui.css.swt.theme_0.0.0.
>     >         >     > !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07
>     11:07:22.984
>     >         >     > !MESSAGE Bundle
>     >         org.eclipse.e4.ui.css.swt_0.9.1.v20110517-2030
>     >         >     [50] was
>     >         >     > not resolved.
>     >         >     > !SUBENTRY 2 org.eclipse.e4.ui.css.swt 2 0 2011-06-07
>     >         11:07:22.984
>     >         >     > !MESSAGE Missing required bundle
>     >         org.eclipse.e4.ui.css.core_0.9.0.
>     >         >     >
>     >         >     > !ENTRY org.eclipse.osgi 4 0 2011-06-07 11:07:22.984
>     >         >     > !MESSAGE Application error
>     >         >     > !STACK 1
>     >         >     > java.lang.RuntimeException: No application id has been
>     >         found.
>     >         >     >     at
>     >         >     >
>     >         >
>     >
>     org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
>     >         >     >     at
>     >         >     >
>     >         >
>     >
>     org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
>     >         >     >     at
>     >         >     >
>     >         >
>     >
>     org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>     >         >     >     at
>     >         >     >
>     >         >
>     >
>     org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>     >         >     >     at
>     >         >     >
>     >         >
>     >
>     org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>     >         >     >     at
>     >         >     >
>     >         >
>     >
>     org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>     >         >     >     at
>     >         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     >         >     >     at
>     >         sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     >         >     >     at
>     >         sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>     Source)
>     >         >     >     at java.lang.reflect.Method.invoke(Unknown Source)
>     >         >     >     at
>     >         >
>     >
>     org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
>     >         >     >     at
>     >         org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>     >         >     >     at
>     org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>     >         >     >     at
>     >         org.eclipse.equinox.launcher.Main.main(Main.java:1386)
>     >         >     > An error has occurred. See the log file
>     >         >     > C:\Documents and Settings\Deirdre
>     >         >     >
>     >         >
>     >
>     Stankard\Desktop\v11\.metadata\.plugins\org.eclipse.pde.core\Todo2.product\1307441241906.log.
>     >         >     >
>     >         >     >
>     >         >     >
>     >         >     > On Tue, Jun 7, 2011 at 10:57 AM, Tom Schindl
>     >         >     > <tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>>>
>     >         >     <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>>
>     >         >     <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>
>     >         <mailto:tom.schindl@xxxxxxxxxxxxxxx
>     <mailto:tom.schindl@xxxxxxxxxxxxxxx>>>>> wrote:
>     >         >     >
>     >         >     >     Am 07.06.11 11:53, schrieb Deidre Stankard:
>     >         >     >     > yes I am using swt for my project. What I have
>     >         done is to use
>     >         >     >     > de.vogella.todo example and from this I have
>     just
>     >         added a tab to
>     >         >     >     change
>     >         >     >     > the styles example just the background color and
>     >         the buttons
>     >         >     color
>     >         >     >     etc.
>     >         >     >     > The last part in my project I have to add
>     >         localization to my
>     >         >     >     project. So
>     >         >     >     > really I am trying to get de.vogella.todo
>     example
>     >         working in 4.1
>     >         >     >     and if
>     >         >     >     > I can do this I can do the styling again.
>     >         >     >     > The tutorial is on
>     >         >     >     >
>     >         :http://www.vogella.de/articles/EclipseE4/article.html#firste4
>     >         >     >     > As before I cannot get past the new
>     application model.
>     >         >     >
>     >         >     >     What happens afterwards? What is the exception?
>     >         >     >
>     >         >     >     Tom
>     >         >     >     _______________________________________________
>     >         >     >     e4-dev mailing list
>     >         >     >     e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>
>     >         <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>>
>     >         >     <mailto:e4-dev@xxxxxxxxxxx
>     <mailto:e4-dev@xxxxxxxxxxx> <mailto:e4-dev@xxxxxxxxxxx
>     <mailto:e4-dev@xxxxxxxxxxx>>
>     >         <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>>>
>     >         >     >     https://dev.eclipse.org/mailman/listinfo/e4-dev
>     >         >     >
>     >         >     >
>     >         >
>     >         >     _______________________________________________
>     >         >     e4-dev mailing list
>     >         >     e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>
>     >         <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>>
>     >         >     https://dev.eclipse.org/mailman/listinfo/e4-dev
>     >         >
>     >         >
>     >         >
>     >         >
>     >         > _______________________________________________
>     >         > e4-dev mailing list
>     >         > e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>
>     >         > https://dev.eclipse.org/mailman/listinfo/e4-dev
>     >
>     >         _______________________________________________
>     >         e4-dev mailing list
>     >         e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>
>     >         https://dev.eclipse.org/mailman/listinfo/e4-dev
>     >
>     >
>     >
>     >
>     >
>     > _______________________________________________
>     > e4-dev mailing list
>     > e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     > https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>     _______________________________________________
>     e4-dev mailing list
>     e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>
>
>
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev

_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


Back to the top