Announcement Announcement Module
Collapse
No announcement yet.
'addon create i18n' does not work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 'addon create i18n' does not work

    Hi!

    I try to add russian language by the command:
    addon create i18n --topLevelPackage com.mif.server --locale ru --messageBundle i18n/messages_ru.properties

    and get the following:
    Command 'addon create i18n --topLevelPackage com.mif.server --locale ru --messageBundle i18n/messages_ru.properties' was found but is not currently available.

    also I try to run `web mvc install language` and got the same message: "was found but is not currently available".

    What's wrong?

    --
    Regards,
    Andriy

    p.s. Roo 1.1.1.RELEASE [rev 156ccd6]

  • #2
    Hi Andriy,

    Glad to hear you want to offer an add-on for the Russian language!

    The addon create commands need to be run in an empty directory (specifically there should not be a pom.xml be present). If you are planning to host the addon on Google code you can run the command in an empty SVN directory (the directory only contains the .svn subdir created by your first checkout).

    Please take a look at the Roo docs for more details: http://static.springsource.org/sprin...#simple-addons

    HTH,
    Stefan

    Comment


    • #3
      OK, thanks
      I'll try to make it.

      --
      Regards,
      Andriy

      Comment


      • #4
        Spring i18n not working

        if i18n is not working in login.jsp page........ then do the following in web.xml
        Code:
        <context-param>
        		<param-name>
        			javax.servlet.jsp.jstl.fmt.localizationContext
        		</param-name>
        		<param-value>Label</param-value>
        	</context-param>
        specify the bundle which is used across the entire application
        http://techdive.in/spring/spring-int...alization-i18n

        Comment

        Working...
        X