OHW & multiple locales

I have some questions regarding OHW and how to support multiple locales. Our product is internationalized and also localized in several languages and has helpsets for each of these locales. These helpsets contain the same topics and content for all the locales. For example, when the user running under the French locale selects a help topic, we want OHW to display the French helpset for that help topic. The "Deploying OHW in Apache tomcat" says to put your helpset files under the directory jakarta-tomcat/webapps/ohw/helpsets, and create a ohwconfig.xml file to point to those helpsets. As well, OHW automatically uses the default Java locale and default encoding when using these helpsets. Since our product uses the default Java locale, the ohwconfig.xml file does not need to include a <localeSettings> element.
How do you set up the helpsets directory and the ohwconfig.xml so that OHW selects the correct helpset to go with the Java locale? Is there an individual ohwconfig.xml for each locale, or can I have all the helpsets listed in one ohwconfig.xml file? If there are any examples or guidelines available on how to set this up, that would be great.
thanks,
Elizabeth Dyer.

I have another solution to handle your problem:
instead of using different WARs for every locale you can put all different
HelpSets in own directories inside one single WAR. You only have to define
a different mapping of the servlet for every locale you need inside web.xml.
Here is the code of web.xml (for WebSphere) to show how it works:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app id="WebApp_1">
     <servlet id="Servlet_1">
          <servlet-name>OHW_DE</servlet-name>
          <servlet-class>oracle.help.OHW</servlet-class>
          <init-param id="InitParam_1">
               <param-name>configFileName</param-name>
               <param-value>/helpsets/ohwconfig_de.xml</param-value>
          </init-param>
          <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet id="Servlet_2">
          <servlet-name>OHW_EN</servlet-name>
          <servlet-class>oracle.help.OHW</servlet-class>
          <init-param id="InitParam_2">
               <param-name>configFileName</param-name>
               <param-value>/helpsets/ohwconfig_en.xml</param-value>
          </init-param>
          <load-on-startup>2</load-on-startup>
     </servlet>
     <servlet-mapping id="ServletMapping_1">
          <servlet-name>OHW_DE</servlet-name>
          <url-pattern>/help_de/*</url-pattern>
     </servlet-mapping>
     <servlet-mapping id="ServletMapping_2">
          <servlet-name>OHW_EN</servlet-name>
          <url-pattern>/help_en/*</url-pattern>
     </servlet-mapping>
</web-app>
As you can see above you need to define different ohwconfig_XX.xml-Files
for every locale.
Hope this helps a little bit.
Greetings,
Thomas

Similar Messages

  • How to mirror between the production server and the multiple local servers.

    I am currently looking for the best way to correspond between our production server and the multiple local servers. Because the production server is the only server that holds the latest updating applications, and our local servers are located for each developer’s local machines where the all modifications and creations are done. So when the developer locally makes changes for assets or files, he creates a patch archive first, then accesses to the production side Administration console screen and imports them from Application Management screen.
    We tried to find a way to see the imported date before (so we know which one has been imported as new.), but there is no show in the Administration console Application Management screen. There is Creation date but it’s set as we initially imported the full archive files, but not patch files. Since between applications have some types of the dependencies (like fragments or image files), what is the best way to keep mirroring between the production server and local servers? Or we should simply not use patch file for updating server?
    Thanks,

    Check out this utility : http://blogs.adobe.com/livecycle/2013/03/adobe-livecycle-configuration-migration-utility.h tml
    Thanks,
    Wasil

  • Using multiple locales in Flash Builder 4.7

    Is there a known issue in FB4.7 adding multiple locales in the compiler arguments?
    I'm trying:
    -locale fr_FR,en_US
    ...but it looks like FB is trying to find a single locale with the name 'fr_FR,en_US' rather than the pair:
    unable to open '/Applications/Adobe Flash Builder 4.7/sdks/4.10.0/frameworks/locale/fr_FR,en_US'
    Thanks,
    Simon

    D'oh! Fixed with this syntax:
    -locale=en_US,fr_FR -source-path ./locale/{locale}
    Simon

  • Copying pictures to computer I am seeing multiple "LOCAL DISK" icons

    Copying pictures to computer I am seeing multiple "LOCAL DISK" icons in DCIM subfolder that were not there prior to ios8 upgrade. Are they supposed to be there or is it possible virus?

    edit: nevermind - problem solved.
    To the OP - It's not a virus, it appears to be a new way Apple has updated it's photos section that summarizes certain elements of each photo.  I found that if you scroll down, you'll find your pictures (if that's what you were looking for).
    I also found that you can still "right mouse click" the iPhone icon in My Computer and "import pictures and videos" with no issue.

  • VPN server claims I have multiple local logins

    I have successfully been logging in from my home Linux box to the company VPN using AnyConnect with DuoPush for about a month. As of last night I can no longer log in. The AnyConnect client says somethng like, "AnyConnect profile settings mandate a single local user, but multiple local users are currently logged into your computer.  A VPN connection will not be established."
    I am the only one on this Linux system. I have rebooted. I have forcibly rotated wtmp and utmp logfiles in case AnyConnect was confused by my not logging out when the system had to be shut down in a hurry due to A/C failure. The "last" command shows only me logged in. The "who" command shows me at the console, and on various ptys connected to xterms; I even killed the xterms at one point just to be sure that wasn't confusing it (this should be unnecessary but I was trying everything I could thnik of).
    What is AnyConnect looking at that convinces it there are multiple local logins?
    Thanks.

    Hi,
    You cannot use Windows Server Backup to back up file and folders on volumes that require more than 2040 GB (or 2 TB). However, as long as the data size is less than 2 TB, you can perform a file or folder backup.
    If you configure windows server backup to backup this 4TB volume to 8TB every 1 hour for period of 12 hours every day, you will get 12 versions shadow copies. You can now use a single backup to back up both the system state and other data on your server. These
    system state backups are now faster and require less space for multiple versions because they use shadow copies for versioning, similar to volume based backups, and not individual folders for each version.
    Windows Server Backup does not require user intervention to periodically delete older backups to free up disk space for newer backups—older backups are deleted automatically.
    For more detailed information, please refer to the article below:
    Windows Server Backup Overview
    http://technet.microsoft.com/en-us/library/cc772523.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • It got setting error on multiple locales under Flex builder

    Hi, i try to build a multiple locales application with Flex Builder.
    When I try to configure "Flex compiler":
    i enter "-locale en_US,fr_FR -source-path+=/locale/{locale}" for additinal compilere arguments.
    Then there are errors:
    unable to open 'C:\eclipse\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\locale\en_US,fr_FR'
    I already to generate fr_FR with "copylocale.sh en_US fr_FR"
    May i know what happened?
    Thanks

    I solve this issue.
    for manual compile with
    -locale=en_US,fr_FR
    But under Flex builder with
    -locale en_US fr_FR

  • Multiple 'local disks' in DCIM folders

    I connected my iPad to my computer and I noticed that in the DCIM picture folders there are multiple local disks.
    The photos are sorted into 3 folders, the oldest one has 7 local disks; another has 4 and the most recent one has 5.
    Is this normal or should I try to remove them?
    Thanks a lot.

    I'm facing the same issue, but just one local disk at the moment as my phone is only 1 month old. I predict should have more when I use it futher. Anyone found solution or explaination to this?
    Never noticed this while running on iOS 5 till recently jumping to iOS 7.

  • Discovering Multiple local Bluetooth devices

    Hi,
    I have been searching for this issue, I know there are some ways of discovering with java one single Bluetooth dongle connected to your PC (like http://www.developer.nokia.com/Community/Wiki/Retrieving_name_and_address_of_local_Bluetooth_device_in_Java_ME )
    Is there any way of discovering multiple local dongles?
    Thanks!

    I second that question for my Audi A4. Have the phone paired with the car via Bluetooth for calling, but don't want to use the Audi AMI cable for playing music, as that fixes the iPhone to the "Accessory enabled" screen ( know I can get around that by jailbreaking) and start Auto Play. I'd like to use the iSkin Cerulean RX Bluetooth dongle instead, and plug that into the Audo AMI cable.
    But I'd have to have my iPhone paired to both the car (for phone) and the Cerulean RX (for A2DP audio) simultaneously. Is that possible? Anyone?

  • How do I use multiple local workspaces for the same website in VS2013?

    For quite some time I've been using VS2010 with multiple workspaces mapped from the same TFS branch to test different variants of a website in parallel. The internal web server (Cassini) seems quite happy to run multiple versions and simply maps a new port
    number for the second and subsequent instances that start up.
    We are now looking to move to VS2013, so have to use IISExpress since the 'internal' web server is no longer provided.
    How do I configure things so that if I open a single workspace, IISExpress runs against that workspace using the default port number (specified in the solution), but if I open a second instance in a different workspace it correctly uses a new port number
    and working folder. Do I need to invoke IISExpress using the command line (presumably from each workspace) and specify the relevant defaults or is there some way to enter this in the local config file for IISExpress?
    My initial attempt at editing to config file resulted in the 2nd and subsequent instance using the same physicalfolder as the first instance, presumably because the speficied site name and port number are the same!

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Based on your description, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     or IIS forums: http://forums.iis.net/ for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Multiple locales problem ---labels display incorrectly

    Hi, we get a problem as we try to get the internationalization support for our helpset. The Labels, for example, can not be correctly displayed if we change the language option in Internet Explorer from english to Italian. "Switch Books" would always be displayed as german language , also "index", "content"... But if we check cabo/images/cache directory, we can only find an "en" subdirectory, nothing else.
    Is it necessary to configure some files to get this support? or its automaticlly supported? by the way we have included the ohw-2.0.1.0.jar file in WEB-INF/lib

    It should be automatically supported. Some questions/comments:
    1. Do you have a german locale helpset that matches the locale used by the browser? OHW will only change the UI if it can find a matching helpset. This is to ensure the helpset and UI are in the same language.
    2. Second, you can force OHW to use a particular locale (with the condition above) by adding locale=en_US (or some other IANA code) as another request paramter. You can try this to make sure your browser settings were not incorrect the last time you tried.

  • Sharing information Instantly between multiple Local SWFs without a server

    Hey there everyone, so here is my problem:
    I would like to Have a string (JSON object)  that is shared across X number of SWFs that are running locally on the users machine. In addition to that, I would like to 'instantly' (with in a few MS) know when said JSON object has been updated. This needs to be done _without_ a remote server, and in AS3 (duh )
    What I've tried:
    Shared Object - Great for storing information across multiple SWFs and have had no problems reading / writing however since it is not remote there is no event (that i know of) to listen to on SWF_A to tell me when SWF_B has changed the SO
    Local Connection - this would work with the Shared Object, in place of event listeners to tell everyone else when to update.  However, you cannot 'connect' to the same name more than once.  Becase of this, each application would need to know the name of every other SWF that the user is currently running, and notify individually
    And yes, I thought of Timers, and no, they are not the ideal /acceptable solution.
    Looked for 3rd party libraries, haven't found any.
    Any insight would be super useful.  Thank you.
    -Andrew

    Yea, I thought about that also, kind of creating a stack, however there are 2 main issues with that.  A timer is still implemented for the 'controlling SO' swf to check for updates, and when / where does the main SWF get created.  Let's say the user has a SWF off my home page www.myexampleurl.com, one a subsequent page: www.myexampleurl.com/checkScores.php, and one in a MySpace widget (LOL myspace) www.myspace.com/myspaceIsLame then the main homepage would create this SWF, however if the user doesn't have the homepage open, where would the SWF go?  This would require working out each application to determine if it  has premissions to open up it's own instance of this swf to handle things.
    To do it right, seems like it would take a long time, and to do it fast, seems like it would get super sloppy super fast.  I do appreciate your help though!
    Any other thoughts?
    -Andrew

  • Creating Help for multiple modules, multiple versions and multiple locales

    I need to put together a new help solution for a suite of applications. The problem I have is working out how to manage and publish the content. Would someone be able to offer any advice?
    The software has:
    Multiple modules
    Head office and site versions
    UK and US locales
    Multiple software versions to be supported
    Previously I used WinHelp, regenerating the project 6 times per software version to provide all possible permutations.
    I’d like to create a single hosted help solution with a simple home/landing page that allows users to enter a natural search term – the results provided would be drawn from the database or collection of available help topics and ranked for relevance to application/version/locale etc.
    Obviously the right help must be displayed, and I don’t want every topic to be prefixed with: [uk | head office | Module name | v3.5].
    I have RH9 (for html and word), but would upgrade if I needed to.
    I have looked into using Webhelp, Airhelp and even Wordpress but still haven’t worked out the best way to do this. I understand that this is not a normal posting, but if anyone can point me towards any information that may help me I’d very much appreciate it.

    I think build expressions are what I am looking for, but if I need to create a new conditional build tag for every variation (Locale/Installation/Version) it will be become rather unwieldy and since new software versions are released almost quarterly it will soon become challenging to manage.
    OK, I am happy you picked up on that point. It will be challenging.
    Sorry but your requirement is a complex output so too will be the solution.
    Also, can I apply a build tag to an entire topic to include or exclude it from a build for whole topics that are UK or US specific?
    Yes. Whole topics or content can be tagged. You can apply a topic tag to exclude it entirely from some categories and you can have content tags so that variants of the topic can be generated so that a topic could be excluded from US but for UK it could then vary according to version, for example.
    From an authoring perspective I want to create a single help file, but I can’t have users scrolling through hundreds of possible help permutations to find the one they are looking for. Creating one help file will simplify the hosting of the webhelp too.
    You cannot have sub categories so you would create a category for each permutation. I don't think that would amount to hundreds though.
    Another approach would be similar tagging but using multiple layouts. With categories, your output would have a folder for each category and when a user selects what they want, the system goes to the chosen folder. If you created multiple layouts, you would have much the same folders but each one would be a standalone help system. It would be for your developers to install the right help for each user. Not as difficult as it might sound. For a start, the versions would be simple to hook up.
    A lot of places stop updating help once either a new version is released or goes out of support.
    The best advice I can give is cut down the permutations as much as you can.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Adding multiple locales to TwitterTrends mobile sample - not working

    Hi All,
    I have been having trouble adding support for muliple locales in my application so I desided to try it out with TwitterTrends sample application. Should be easy, but not working for me...
    What I did:
    1. Add locale folder under assets with an en_US sub folder
              src/assets/locale/en_US
    2. Create a properties file for en_US and save to src/assets/locale/en_US
         src/assets/locale/en_US/twittertrends.properties
    3. Add a single resource key for the home view in 'twittertrends.properties'
         views.home.title=Twitter Trends
    4. Update the TwitterTrendsHome.mxml to use fetch the title from the properties file
         title="{resourceManager.getString( 'twittertrends', 'views.home.title' )}"
    5. Add the locale folder to the applications source path, I did this by modifying the additional compilter args for Flash Builder:
         -locale en_US -source-path=assets/locale/{locale}
    Result:
    No title is displayed..
    I am not sure what I did wrong. Any help is much appreciated.
    Has anyone else seen/not seen this issue?
    Cheers,
    Greg

    Try adding
    <fx:Metadata>
        [ResourceBundle("twittertrends")
    </fx:Metadata>
    The problem is that the compiler isn't smart enough to tell that you're using the 'twittertrends' resource bundle unless you tell it so via [ResourceBundle] metadata. It doesn't try to analyze the ActionScript code inside of databinding expressions to determine what parameters you are passing to ResourceManager functions, etc.
    If instead of databinding you use the @Resource() compiler directive, as in
    title="@Resource('twittertrends', 'views.home.title')"
    then it should be able to figure this out without the [ResourceBundle] metadata. But this way of doing it doesn't support switching the locale at runtime.
    Gordon Smith
    Adobe Flex SDK Team

  • Vpn site to site isa 570 to asa 5505 multiple local lan

    Hello, i have configured a site to site vpn with a asa 5505
    In the tunnel will pass the network 172.x.x.x/16 and 192.168.x.x/24 from local isa to a single lan 192.168.x.x/24 on remote asa
    I have create a group network address and i put the the default_lan and the other lan in it
    In the tunnell configuration i have use this group address with local lan parameter
    When the tunnel was up in the routing table i view the remote lan on interface ipsec0 but also i view the local lan on  interface ipsec0  
    Is this configuration n ot supported?
    Thank best regards             

    Hello, thank for answer.
    The problem is that tha second lan is a routing static lan.
    The ip address of ISA is 172.16.10.254/16 and the default_lan is 172.16.0.0/16
    The second lan is 202.1.1.0/24 and it is a staic lan on another gateway.
    When the site-to-site ipsec go up in routing table i see three route on interface ipsec0:
    The remote lan, the default-lan (that is also on default interface. Behaviour?) and a subnet lan 172.16.10.0/24.
    If i ping from a lan pc an ip of subnet 172.16.10.0/24, i see that the arp is equal at mac-address of ISA and i have a problem on the lan. It's normal?
    Best regards

  • Connect to multiple local instances without enterig passwords

    Oracle 10R2 on Linux Gentoo
    I have several local instances which I want to connect in shell script without setting password explicitly. But when I use @connect_string it seems to me that os authentication is ignoring by oracle. Look at this:
    oracle@omega1 ~ $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 16:38:40 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    oracle@omega1 ~ $ env | grep ORACLE_SID
    ORACLE_SID=orcl
    oracle@omega1 ~ $ sqlplus /@orcl as SYSDBA
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 16:39:05 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    oracle@omega1 ~ $ groups
    oinstall dba

    I wouldn't like to enter sys password interactively because i use sqlplus from shell script which is ran under cron (unix scheduler).
    remote_login_passwordfile is already set to exclusive:
    oracle@omega1 ~ $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 17:04:33 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show parameter remote_login_passwordfile
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    I've also recreated password file with no result:
    oracle@omega1 ~/oracle/product/10.2.0/db/dbs $ orapwd file=/home/oracle/oracle/product/10.2.0/db/dbs/orapworcl entries=20 force=y password=*********
    oracle@omega1 ~/oracle/product/10.2.0/db/dbs $ sqlplus /@orcl as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 17:13:23 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges

Maybe you are looking for

  • Keeping imac on for numerous days straight.

    I use my elgato eye tv to record tv shows and then I convert it to ipod format so that I can watch it on my ipod video. However, converting numerous tv shows takes a while so I leave my imac on overnight quite often. My question is: Is it harmful to

  • 10.5.7 screen problems

    I downloaded 10.5.7 this morning and updated my mac mini 2ghz intel core 2 duo. On restart the quality of the icons/text/screen resolution is terrible. changing the resolution makes no difference to the quality. I am running on a LG HD tv connected b

  • Usb port stopped working

    One of the usb ports on my eee 1001px all of a sudden stopped working! Is there any way I might test if it's a hardware problem or whether I've accidentally "switched it off" somehow via a software setting? Cheers!

  • Need help with installing Flash media server

    How xan i configure  my existing apache server to work with flash meda server? I dont want of install apache server coming along with the setup?

  • Recognition of Duplicates at Import

    Something happened with a family shoot this last weekend that raises this question. I only had my iBook G4 and Graphic Converter with me, and knew that I wanted to see some photos of Halloween costumes and kids on the spot. So I set my D300 to save b