Standard way to maintain property files for internationalization??

Hi All,
For multiple language support, normally we maintain a different property file for different languages.For example, consider English language.In my case, i placed all the labels for english in one property file through out my application.All french labels in one property file and so on.
My question is, Is it better to maintain seperate property file for each page also??? Or else, one property file is good enough for one language??? which is better?(interms of complexity and performance)

Here is how I mapped the taglibs in my XML file and it works fine:
<taglib>
          <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
          <taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
</taglib>The .tld files are in the WEB-INF/lib dir. To use them i put this line in the JSP file:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts_html" %>Hope this helped,
Calin

Similar Messages

  • Best way of keeping property files in struts 2 in an application

    Actually we are 5 people working on an application . Now the problem is everyone is using their own properties files for internationalization and now the problem is that message are conflicting with each others properties file even i only have 4 properties files and my own messages are conflicting .
    So can please tell me the right way for handling internationalization..
    if we'll keep only one properties file for internationalization then it become really really huge .
    So what can be the alternate....
    Please Please tell me the solution..
    Thanks.....

    I believe a Referenced file system would accomplish what you are describing.
    In a Referenced file system:
    * Your files are not stored in the Aperture Library, but are externally referenced from folders on a hard drive (either internal or external).
    * You Aperture Library can hold Previews of any or all of your Referenced images.
    * You can disconnect an external drive with the Referenced files if you wish.
    * The Vault only backs up project/folder/album, keyword/metadata, and adjustment data, not the images.
    You can easily move your images from being Managed in your Aperture Library to being Referenced by using File>Relocate Master.
    You can find out more about a Referenced file system on Page 135 of the User Manual available from the Help menu in Aperture. There is also good into here: http://homepage.mac.com/bagelturf/aparticles/ref/ref.html
    -Karen

  • Standard way of mutual exclusion control for rfc connection

    Dear expert,
    I want to know the standard way of mutual exclusion control
    for rfc connection.
    I am going to create JAVA screens for ERP ABAP objects.
    As for SAP GUI screen, pessimistic locking is used when editing objects.
    On the other hand, pessimistic locking is defficult for JAVA screens,
    since most of lock objects on ERP are not available for RFC.
    Besides, I'm afrraid if locks are correctly deleted
    when something bad happens on screen.(i.e. Users close browsers.)
    Do you have any recommendations?
    Regards,
    Fukuhara Yohei

    Hello, we raised an OSS note.
    They answered it was not possible to lock tasks.
    Task completion is like a race, the first it completes it wins.
    Regards,
    Marco.

  • The best way to make proxy files for editing?

    Hi,
    What is the best way to create proxy files for editing? I'm thinking Apple ProRes 422 (Proxy). The original material is DVCPRO HD 1080i50, shot on Panasonic P2 cards, and copied on to hard drives. But as there is about 400 hours of it, I desperately need to find a clever way to make smaller proxy files for editing.
    I would also like to make the proxies at a smaller resolution than 1080i for the editing process.
    I guess it's possible to import the media and then batch export it to the proxy format, but Is there a better way?

    I'm not able to ingest the material directly from the P2-folders as ProRes 422 (Proxy). No matter how much I change the import settings in "Log and transfer", it still ingests as DVCPRO HD 1080i50.
    Correct. DVCPRO HD P2 can only come in as DVCPRO HD. You can't transcode it. AVCIntra P2 is what you can bring in as ProRes. (Sorry Tom).
    I can of course transcode it form there to the proxy format and delete the ingested files,
    Why? Why do that? You have ingested all the files, right? You ALREADY HAVE THEM...right? Why not work with them? You obviously have the room (20TB). Why import all this, then now take the days it would require to make proxies?
    Making the ProRes-proxies directly from the P2-material seems more logical, or isn't it?
    DVCPRO HD P2 cannot come in as anything else, so the offline/online workflow for them doesn't work unless you import it all, then transcode to a smaller format...but then need to keep the originals online to relink to when you are done. If you wanted to do an offline/online, you needed to research this better...or test it...before you shot your hundreds of hours only to find that what you want to do won't work.
    Shane

  • Reading an external property file for adapter configurations (How-To)

    One thing that has bugged me is having to change an Adapter's property settings in the context file and then build and re-deploy the bundle to effect those changes. This really becomes a problem when you want to test a bundle in different server environments (Development, QA, Staging) and then finally deploy that same bundle to Production. Here at EnerNOC, all those environments have different message servers and database schema names, making it a real challenge to insure you're building the same bundle each time for the different environments.
    I played with a number of different ideas, but I wanted the solution to be Spring based. I finally settled on a rather simple solution to use external property files with the <util:properties/> tag of Spring, and then injecting the bean created from this into the adapters requiring different configurations.
    First, in the context file, I needed to add a new Spring namespace - http://www.springframework.org/schema/util:
    +<beans xmlns="http://www.springframework.org/schema/beans"+
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"*
    xmlns:osgi="http://www.springframework.org/schema/osgi"*
    xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"*
    xmlns:util="http://www.springframework.org/schema/util"*
    xsi:schemaLocation="*
    http://www.springframework.org/schema/beans*
    http://www.springframework.org/schema/beans/spring-beans.xsd*
    http://www.springframework.org/schema/osgi*
    http://www.springframework.org/schema/osgi/spring-osgi.xsd*
    http://www.springframework.org/schema/util*
    http://www.springframework.org/schema/util/spring-util-2.5.xsd*
    http://www.bea.com/ns/wlevs/spring*
    http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd">*
    Next, I defined a bean for my property file:
    +*<util:properties id="serverProperties" location="file:./applications/MyApplication/server.properties"/>*+
    And then finally, I modified my adapter to inject a Properties object and use that to define the other properties in the Adapter:
    +*<wlevs:adapter id="MyMessageAdapter" class="com.enernoc.cep.message.adapter.MyMessageAdapter" >*+
    +*<wlevs:instance-property name="properties" ref="serverProperties"/>*+
    +*<wlevs:listener ref="HAInputAdapter"/>*+         
    +*</wlevs:adapter>*+
    With this change, I can now build and deploy a bundle once to whatever servers I choose, and modify the server.properties file in each environment to make the necessary changes for message servers and databases. In a multi-server enviroment this becomes really handy as our deploy script needs to only create and push server.properties files and not new bundles.
    As a nice-to-have feature someday, it would be great if Oracle could enable their <wlevs:/> namespace to recognize the Spring PropertyPlaceholderConfigurer feature, so that we could use placeholder variables for property values of <wlevs:/> specific tags.
    Edited by: Jim Leary on Feb 28, 2011 4:11 PM
    Edited by: Jim Leary on Feb 28, 2011 4:14 PM
    Edited by: Jim Leary on Feb 28, 2011 4:15 PM
    Edited by: Jim Leary on Feb 28, 2011 4:16 PM
    Edited by: Jim Leary on Feb 28, 2011 4:17 PM
    Edited by: Jim Leary on Feb 28, 2011 4:18 PM
    Edited by: Jim Leary on Feb 28, 2011 4:19 PM

    Jim,
    You can use com.bea.wlevs.spring.support.ConfigurationPropertyPlaceholderConfigurer, which is based on org.springframework.beans.factory.config.PropertyPlaceholderConfigurer. For example,
    <bean class="com.bea.wlevs.spring.support.ConfigurationPropertyPlaceholderConfigurer">
    <property name="location" value="file:config/test.properties"/>
    </bean>
    <wlevs:adapter id="myAdapter" class="oracle.cep.sample.MyTestAdapter" >
    <wlevs:instance-property name="serverAddress" value="${serverAddress}"/>
    </wlevs:adapter>
    Manju.

  • What is the best way to create illustrator files for frames created in an InDesign layout?

    Is there a quick way to do that or do i need to note the size of each frame in InDesgin and then input that into the dialog in illustrator. It seems like a waste of time. Is there a better way?
    I am new to InDesgin. What I'd like is a way to automatically generate blank illustrator files  to fill in the graphic frames in my layout.
    Thanks,
    John

    I have no existing Illustrator files for the project. I'm tring to use InDesign to create a rapid protoype. I may be working backward from what is expected.
    If I could generate blanks that are the correct size that would be an easy way to get started on them, but copying the sizes to the new document dialog box in Illustrator is not a big deal either.
    I figured that if i could create an Illustrator blank from InDesign that would get me started in illustrator quickly and also place the new file in the frame.

  • Is there any way to get the file for your site from Creative Cloud?

    I lost the file for my Muse site and was wondering if there was any way to get the file from the server or from somewhere in Creative Cloud.
    Thanks.

    Are you Mac or Windows?

  • Maintaining Property File Change in OSB

    Hi Everyone
    We have six IPs listed in a config file for external communication in our OSB application. The 6 servers serves the same purpose and we are connecting to them based on round robin for each request for load balancing.
    When a server goes down out of 6 , we need to remove the one from propertioes file so that we dont hit again the problematic server and we need to isolate it. We dont want restart as it will affect consumers after changing properties file.
    Is it possible to change and bring effect the prop file without restart ? Please let me know a solution. Thanks in advance.
    Thanks,
    Appasamy

    Why you need a property file in this case? OSB can take care of it for you. Just add all the endpoints in Business Service and it will automatically take care of delivery. You may refer -
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15867/endpointurimgmt.htm#i1081912
    Regards,
    Anuj

  • Separate property files for two builds

    Hi,
    I have two build files, one is build.xml and another is DB.xml which executes some targets in build.xml
    Eg :- 'customer' is a property which i need to enter both in build.xml and and DB.xml,
    Here the 'customer' property is been read from build.properties file but not from DB.properties file which is specific to DB.xml. But I want the properties to be independent for both build.xml
    and DB.xml i.e when i run DB.xml it should read the 'customer' property from DB.properties but not from build.properties
    can any body help
    thanks in advance

    Two options spring to mind.
    Properties in ant are read only. i.e. once they've been set, that's it.
    By putting <property file="DB.properties" /> at the top of DB.xml and <property file="build.properties" /> at the top of build.xml providing you're calling ant -buildfile DB.xml everything should work OK.
    Option 2.
    The targets in build.xml that are called by DB.xml should be parameterised.
    Common compile target in build.xml
    <target name="compile">               
       <javac srcdir="${srcdir}"
                    destdir="${destdir}" classpathref="compile.classpath"
              debug="${debug}"
                    fork="yes"
                    executable="${executable}"
              source="${source}" />
    </target>Code that uses the common compile target
    <import file="build.xml" />
    <target name="compile">
       <antcall target="compile">
          <param name="srcdir" value="${project.src}" />
          <param name="destdir" value="${project.build}" />
          <param name="debug" value="${release.java.debug}" />
          <param name="executable" value="${release.java.home}/bin/javac.exe" />
          <param name="source" value="${release.java.version}" />
          <reference refid="compile-src-classpath" torefid="compile.classpath" />
       </antcall>
    </target>

  • Best way to encode Quicktime file for the web?

    Hello all and thanks in advance for your help with this problem.
    I need to know the best way to encode a quicktime clip for the web.
    This was my first try:
    http://www.denmothers.net/trailer-big.htm
    It works fine in safari, firefox, and ie for mac, provided they have quicktime 6 or later but it seems not to work on pc browsers. The file is encoded as an .mp4 using compressor and played with the browser's quicktime plugin. I've read that encoding files as a .mov provides greater compatibility but when i compress it as a .mov using the mpeg4 codec the file sizes are huge and when i use the photo-jpeg codec the quality is poor. h.264 looks great and has low file sizes but then my viewers have to have quicktime 7 which i think is too limiting because many will have older computers.
    How should I encode my file such that it works best across browsers and platforms and has the highest quality at the lowest size?
    Best,
    Keegan

    If you open an .mp4 file in quicktime pro you can then select File->Save-As and you are presented with two options:
    Save as self-contained: This will create a .mov that is the same size as your .mp4 but is playable on any system w/ QuickTime 6 and the Mpeg-4 codec. (PC's included).
    Save as reference: This will create a small (>500kb) file that will simply reference the .mp4. If they're in the same folder the .mov created will open the .mp4. Without the .mp4 the .mov in this case is useless.
    For what you're trying to do I suggest going with self-contained.

  • Correct way to compress 16X9 file for the web

    Hello: Shot an HDV project. After importing converted files to DVCProHD. 1280X1080 16X9. Edited 5 min. piece. Exported QT with current settings. Need to upload to You Tube. Please tell me...what's the best choice in Compressor? I tried H.264 Streaming 800kbps and the file now looks 4X3. Please help. THANKS!

    sdl wrote:
    I tried H.264 Streaming 800kbps and the file now looks 4X3.
    Because of the non-square pixel format you're mastering in (DVCProHD) you have to force the frame size to 1280x720. And for an HD file, you can up the bit rate to about 2000 kbps for YouTube. (I believe 800 kbps is recommended for the 16:9 High Quality file)
    Also, be sure to turn on Frame Controls (in Compressor), as it'll help maintain sharpness that will otherwise be lost when going to 1280x720. Though that'll up the encode time significantly...

  • What is the easiest way to convert .MTS files for use in Final Cut Express

    I initially downloaded my Sony Alpha7 files into iMovie. As the production requires a little more professional software I then tried to import files into Final Cut Express. As these are now .MTS files what is the easiest way of converting them?

    Hey Martin et al,
    Related question...
    After you convert files from M2TS or MP4 into something usable in FCE can you trash the original M2ts/mp4 files ?
    I recently used Mpeg Streamclip to convert Mp4 into AIC for FCE for example..
    Is there a general rule of when you have to save original files so everything works in FCE?
    I'm running out of HD space.
    Thanks a lot,
    Al

  • Proper way to save FW file for use in print and web?

    I have a high resolution FW file that has a lot of vectors, but includes gradients too.
    It is on a transparent artboard, and I want to preserve the transparency.  I want to be
    able to use it for both print and web projects.   I am assuming that the best way to do
    this is to save it as a PSD file, but when I do that, the appearance of the file changes,
    specifically, the words "web design" in the logo lose some of the boldness and sharpness
    that they had in the FW version.("web design" is vector with a solid fill)  What am I doing wrong?

    2 type of dialogs can appear.
    1 ... Replacing file
    2 ... Internal Error of FW. (other are same two)
    else... you have some problem there.
    Well.. jms1017 can you post the dialog screen here? Thanks!

  • Is there a way to package a file for print? Also help on die cut settings?

    Hello!
    I've gotten myself in a bit over my head, I work at a very small company. I am the only one with design experience, and being somewhat fresh out of college, until this job I've had no print experience. So everytime I send something to them, I learn something new. Typically the files I send originate in InDesign though.
    I have designed a rectangle sign with a triangle at the top, and so I am preparing the file to be sent to the printer for a die cut. I reached out to them and asked how to prepare it, and the response was very short "Draw your shape, make an overprint rule where you want it to cut. Extend bleed beyond the cut lines." But I wasn't quite sure i understood so I searched, and I created a die cut layer that is the shape of the cutout completely filled in a bright color not found anywhere on the document itself. Is that correct?
    Secondly, there is text, so I wanted to package the file just as I would in InDesign. Typically I send a pdf, but not sure a pdf would work with this since the red covers the area needing to be printed. So thus why I wanted to package the file to go in case I haven't prepared it correctly for them.
    Should It have just been a stroke and not filled in?
    Sorry so long-but I try to explain thoroughly from the get-go. Thanks for any help!

    SReigel:
    A little after the fact, but here are a couple more tidbits for you!
    Illustrator doesn't have a Package function like InDe. (Unfortunately!)
    If you don't have any placed images in your file, you can convert all the text to outlines and send a native Illustrator file, or a vector EPS, or whatever vector file-type your vendor prefers.
    There's an app out there called Art Files that will collect fonts and images a la InDe's Package. It's inexpensive, and I believe it has a fully functional trial if you only need it for one or two files.
    Hope it all turned out well.
    Regards,
    D.

  • Why is my app size increasing (facebook). Is there a way to clear temp files for apps?

    Is there any solution for this, as i have iPhone 4 8GB.
    Any apps to clear temp files killing my space ?

    Hey priyankarzana,
    First, try deleting the app and redownloading:
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    via: iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    You can also try to restore from an iCloud backup to see if that helps. You can read about how to do that here:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Cheers,
    Delgadoh

Maybe you are looking for