forum  

Re: [Forum] I18N in seperate files

List for Users of Carlsbad Cubes' Technologies and Products
Tue, 13 Sep 2005 09:21:05 -0700

Hi,

We have the same issue. We've got quite a big application so to keep
it maintainable
we split it in logical modules and we have one locale file per module like
module1_en.properties, module2_en.properties ... etc. 
To make a reuse of common translations (like "ok", "cancel" ) we have
common_en.properties.
So what we tried to do with swixml was something like this

<frame bundle="module1">
    <panel it="mainPanel">
        ...
    </panel>
    <panel it="okCancelPanel" bundle="common">
        ...
    </panel>
</frame>

But it didn't work.
So I wonder if swixml supports this construction at all.

Thanks,
Vitali

2005/9/11, List for Users of Carlsbad Cubes' Technologies and Products
<Forum@carlsbadcubes.com>:
> 
> 
> List for Users of Carlsbad Cubes' Technologies and Products 
> <Forum@carlsbadcubes.com> schrieb am 09.09.05 19:31:37:
> >
> > Hi,
> >
> > > Do you want to split (e.g.) the german language property file
> >  > into more than one file?
> >
> > Yes, this is that i mean. It is maintainable und concise.
> 
> Hm, I did not try that nor can I try this at the moment, but did you specify 
> different "bundle"-attributes in your panels/frames/...? Maybe this leads to 
> different problems, though...
> 
> 
> >
> > > How is your "I18N-File" named?
> >
> > My files ar name "mainFrame.properties", "mainFrame_de.properties" and 
> > "customerPanel.properties", "customerPanel_de.properties".
> 
> Sounds ok.
> 
> >
> > I read the given url, but i have no idea how i can it use in swixml-files. 
> > It's an understanding problem for me.
> 
> Maybe, but maybe it is also a problem with Swixml -- it is not meant to have 
> different resource bundles per locale. I'm not sure about the maintanance -- 
> either you have a lot of small property files with few properties in them or 
> you have few property files with a lot of properties in them. For me, it is 
> more convenient to have one property-file per locale, because it allows 
> re-use of properties as well.
> 
> 
> Yours,
> 
> Frank
> >  ________________________
> >  Björn Schulz
> > -----------------------------------------------------------------
> >  _______________________________________________
> > Forum mailing list
> > Forum@carlsbadcubes.com
> > http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
> >
> 
> 
> 
> _______________________________________________
> Forum mailing list
> Forum@carlsbadcubes.com
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>

_______________________________________________
Forum mailing list
Forum@carlsbadcubes.com
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com