Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DataSourceLocalization improvement idea

    Hi there,

    according to your docs page about localizing datasources - say you want to localize a field. You do this:
    Code:
     <fmt:bundle basename="com.isomorphic.test.i18n" />
    ...  
     <field name="itemName">    
        <title><fmt:message key="itemName"/></title>        
    </field>
    In my case, what this means is that i have to introduce the "title" node and the fmt:message contents, for each field, in every datasource, even though the "name" attribute of the field is always the same as the "key" in the fmt:message

    Wouldn't it be neat if you could just use the "name" attribute value to look up the localized title if the title field is missing, or something like that?

    #2
    Hi mathias,

    I agree that this might be useful, not for me, but in general.
    If you have problems with XML formatting and line breaks after the title-tag, see this thread.

    Best regards
    Blama

    Comment


      #3
      Heh, that was an interesting thread :) . I use Intellij since like 15 years, and i had no issues here. Sorry you had problems. Thanks for the tip though!

      Comment

      Working...
      X