Resource Bundle for Detailed Navigation
Hi All,
I am trying to modify the text "Detailed Navigation".I was not able to find the Resource Bundle for that.can any one let me know the location for the resource Bundle for changing the Detailed navigation text.
Thanks,
sk
Hi,
Up until now, there was no resource bundle for admin properties in a portal component. Properties were defined as component properties in the portalapp.xml (in english). Once you created an iView, you could then translate the properties in the PCD (for example, with translation worklist).
This will change with an upcoming version -- perhaps 2004s SP14.
Hope this helps and I understood your situation correctly.
Daniel
Similar Messages
-
Jheadstart oes not generate NLS key in resource bundle for Static domains
Hello
according to jhsdevguide1013 on section 6.5.2 about "Translation of static domains" when I check "Generate NLS-enabled prompts and tabs" and run application generator , Jheadstart oes not generate NLS key in resource bundle for Static domains.
Does anybody can help us for this problem?Thank you for reporting this, I have logged it as a bug.
As a workaround, you can customize the Generator Template default/item/staticDomainOptions.vm
See http://blogs.oracle.com/jheadstart/2006/11/30#a108 for an example how to let a template generate extra resource bundle keys.
Hope this helps,
Sandra Muller
JHeadstart Team
Oracle Consulting -
Revision: 7795
Author: [email protected]
Date: 2009-06-12 12:18:13 -0700 (Fri, 12 Jun 2009)
Log Message:
fix locale names used in resource bundles for simplified Chinese and traditional Chinese . zh_cn to zh_CN and zh_tw to zh_TW
bug: https://bugs.adobe.com/jira/browse/SDK-21174
qa: localization team (yes)
checkintests: pass
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-21174
Modified Paths:
flex/sdk/trunk/modules/compiler/build.xmlI'm more of a 1.3 chick myself, but the words are the same just in a different language.
1. Is Tomcat running?
2. Have you configured the ajp13 connector on 8009 in Tomcat? (Should it be ajp13 for Apache 2.0? - I really must upgrade) -
Javascript error for detailed navigation tree : 't' is undefined
Hi everybody,
I have a problem on my anonymous role. When i click on the link page of a km navigation IView in the detailed navigation tree, the IView open itself but the navigation tree disappear and i have a Javascript error :
Error : 't' is undefined.
Code : 0
URL : http://localhost:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false
Could somebody help me please ?Sorry but it's the same result.
Anybody else?
Somebody could say me if i modify the parameter of the URL somewhere?
http://portal:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false&windowId=WID1182328037651
I talk about the parameter buildTree or NavPathUpdate.
These parameters are added when ai click on the link of the tree. -
Tree Renderer for detailed navigation
Hi,
does anyone know, which tree renderer is used in detailed navigation?
I would like to change the behaviour:
By default, the tree in detailed navigation should show all items as open.Hello Holger,
The only way to achieve this feature is by implementing your own detailed navigation.
Check these wonderful blogs:
EFP: Working with the New Taglibs - Part 2
EFP: Working with the new Taglibs - Part 3
Greetings,
Praveen Gudapati -
Resource bundle for this purpose? Is it ok?
Hi all,
I want to use ResourceBundle for some other situation which is not related to internationalization.
We have a program in which we want need to externalize our strings but not for the sake of internationalization. To give a little example, let's say we have a Welcome screen on which we would like to say: Welcome to XYZ! and we want to customize it to also say Welcome to ABC depending on some program argument and loading a different properties file.
Although ResourceBundles are specialized for internationalization, ResourceBundle seems to be a better choice than to create my own classes and handing them. But I don't know whether I can use it for this kind of a purpose. Any inputs?
Thank you,
SrikanthYou can certainly use ResourceBundle for such things, but it's probably cleaner to use a Properties object since it's not going to go through all the locale detection stuff.
You can just do:
InputStream is = getClass().getResourceAsStream("my.properties");
Properties props = new Properties();
props.load(is);
is.close(); -
What are Resource Bundle Best Practices techniques for Enterprise App?
Regarding JDeveloper: 11.1.1.6.0, Studio Edition
I was wondering if someone could provide advice on Best Practices for managing Resource Bundles for an international Enterprise Application.
I have been reading textbooks and throughout the web, and I can find different options available. And I can find cautionary tales to get it right at the beginning of Development, but I cannot find Best Practices suggestions.
For instance:
- Should I use XLIFF Resource Bundle, Properties Bundle, or List Resource Bundle?
- What are the benefits and disadvantages of storing the Key/Value pairs in the database?
- It seems that storing in the db would make maintenance easier, because applications do not need to be redeployed, but would they be slower?
- One textbook indicates that "One Bundle per Project" is preferred for ViewController Project, and "One Bundle Per File" is preferred for Model Project. However, I cannot help but think if the whole Enterprise used just one Resource Bundle, it would save typing cust_id/Customer Number in 10 different Bundles.
- One text indicates how to maintain translated versions of Access Keys, if the Bundle is a Properties Bundle, but provides no assistance for other Resource Bundles.
Advice regarding Best Practices would be quite helpful.
Sincerely,
ArieAnyone?
-
Problem with refresh resource bundle...
Hi Iam refreshing the resource bundle. Iam using the following code:
hsModelServiceProvider.getInstance().setFallbackBindingContainerEL("");
JhsModelService jhsService = JhsModelServiceProvider.getInstance().getJhsModelService();
System.out.print("UserId is :"+userId);
jhsService.getTransaction().executeCommand("begin APP_USER_CTXT_mgr.set_user('"+userId+"');end;");
System.out.print("after execute command");;
// refresh resource bundle
MethodBinding refreshBundles = FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{nls.refreshBundles}",new Class[] { ActionEvent.class});
refreshBundles.invoke(FacesContext.getCurrentInstance(),new Object[] {null});
Iam gettin the following error Upon executing
ERROR (MessageFactory) -Failed to refresh bundle oracle.jheadstart.exception.JhsUserMessages due to null
Please help me..
Thanx in Advance!Hi Steven,
I want to personalise the ADF Application depending the userpreference. I got a tutorial which uses JHeadstart(through refreshing the resource bundle) for the same, but I did not understand that clearly as I said Iam new to this. Can you please give me any sources which speak about the personalisation functionality in detail?
Thanq -
ADF: Translated XLIFF Resource Bundle not Selected at Runtime
Issue: When I run my ADF app in a web browser where French is selected as the default language, the labels on the form are still populated with English text from the default resource bundle, even though an XLIFF resource bundle for French exists.
Details: I have created a default XLIFF resource bundle containing the text for all labels on my form in English, called labels.xlf. I have also created two translated XLIFF bundles for French and German and named them labels_fr.xlf and labels_de.xlf, respectively.
On my form, I have used value expressions to retrieve the text for each component's label, like label="#{res.language}. JDeveloper added '<c:set var="res" value="#{adfBundle['oracle.fosxliff.uitest.labels']}"/>' to the top of my page, so I could access the resource bundle text. Identifying the resource bundle in the faces-config.xml file does not work. However, I did define which locales are supported by my application in this config file.
*NOTE:* When I access these sames resource bundles in a managed bean by utilizing the locale of the UIViewRoot, the correct XLIFF file is retrieved and the translated text is correctly assigned to my components on the form.
Is there some other configuration that I am missing? I was expecting XLIFF files to work similarly to properties files, which do work correctly regardless of whether the text is accessed using value expressions or managed beans.Ok, I've found the answer.
I've added translatable custom properties on the view implemention
and access these in the code... -
How to deal with resource bundle in multiple applications system
Hi all,
I'm building new system depend on the method of
one common model with multiple applications for the view objects
my JDeveloper version 11.1.2.3
my Question
How can i merge the resource bundle for these applications
as in the common model exists file for resouce bundle
and each other applications contains resource bundle files how can i merge all these file in one Resource bundle file ?
Edited by: 985756 on Apr 2, 2013 12:39 AMHi,
Please check anerjusb blog for your answer
Hoping this will help you.
http://andrejusb.blogspot.in/2009/12/reusing-resource-bundles-from-different.html
Thanks & Regards,
Vikas -
How to use a resource bundle in viewcontroller project
How can I create a resource bundle for a viewcontroller project ? Is there any way to add entries to it other than adding manually editing the property file ? so that all the key generated will be unique? How to access a message in the resource bundle in my backing bean so that I can display it in my screen ?
Thanks
SuneeshSuneesh Raman wrote:
How to access a message in the resource bundle in my backing bean so that I can display it in my screen ?Take a look at this: http://adfcodebits.blogspot.com/2010/04/bit-5-accessing-resource-bundle-from.html -
Hi!!
I am researching Resource Bundles and how they work and have a question. Do you have to use Locales to determine which bundle to use? You see I am developing a product that will only be used in the US but will be used by several different companies. I would like to use a resource bundle for each company instead of for each country!! Is this possible? and if it is, how?
Thanks for your timeIf you want to have default values, I would suggest using ResourceBundles and just sending in a Locale with the variant of the company. That way if your application ever needs to be localized it won't take much to change it. Your properties files would be named baseName_languageCode_CountryCode_Variant.properties.
It has been a great advantage for the program that I am developing. -
How to use XLIFF file as resource bundle in Java code
We use xliff as resource bundle for our ADF application. it is has been no problem to have localized message displayed on UI. how ever, I'm wonderring how to use Java code to access xliff as resource bundle which similar to access properties resource bundle. for example:
Locale myLocale = new Locale("es", "ES");
ResourceBundle bundle = ResourceBundle.getBundle("HelloResourceBundle", myLocale);
System.out.println(bundle.getString("Hello"));is it posible to create "HelloResourceBundle" in xliff format?
ThanksFollowing code worked for me:
import oracle.javatools.resourcebundle.BundleFactory;
import java.util.ResourceBundle;
* This method retrieves localized strings from a given XLIF resource bundle.
* @param bundleName The XLIF bundle from which the localized string is to be retrieved.
* @param key The key of the localized string.
* @return The localized string retrieved from the given XLIF bundle.
public static String getXlifLocalizedString(String bundleName, String key) {
if (StringUtils.isEmpty(key)) {
return key;
if (StringUtils.isEmpty(bundleName)) {
return "[" + key + "]";
String localizedString = null;
ResourceBundle resourceBundle = null;
try {
resourceBundle = BundleFactory.getBundle(bundleName);
localizedString = resourceBundle.getString(key);
} catch (Exception e) {
LOG.log(Level.SEVERE, "Problem in loading XLIF resource bundle: " + bundleName, e);
return "[" + key + "]";
return localizedString;
} -
Flickering Detailed navigation panel
Hi all
I have created a portal desktop, using the default frame work page. But the detailed navigation panel flickers when i click on the links in it. its like reloading the entire page. Can any one give me suggestions..Hi,
in the properties of the Detailed Navigation iView (or of the content area iView) - Section: Load - is it URL or embedded?
What happens if you change it to URL for Detailed Navigation?
br,
Tobias -
Resource Bundle issue in ATG 10 migration
Hi,
Migrating from ATG 2007.1 to 10 & getting issues with resource bundle for Merchandizing pages in BCC.Page is loading the StoreMerchandisingIcons.swf from the WAR module.Additionally the page is throwing error #404 for StoreMerchandisingIcons_en.swf & StoreMerchandisingIcons_en_US.swf (which is not available in the WAR)
This URL is loading fine
http://localhost:8180/store-merchandising/StoreMerchandisingIcons.swf
404 for these URLs
http://localhost:8180/store-merchandising/StoreMerchandisingIcons_en.swf
http://localhost:8180/store-merchandising/StoreMerchandisingIcons_en_US.swf
Configured the resource bundle & default locale in the StoreConfiguration but still I am getting this error.Am I missing anything?
Debugged through FireBug , not getting any error in the page or Jboss console
Thanks in advance!
ManiHi,
Application.getResourceBundle(FacesContext, String) retrieves the named ResourceBundle from faces-config.xml and is indeed a good way to access a bundle from an application.
Now, however, you're trying to access a Model layer bundle which is itself an aberration imho. I already mentioned that in numerous posts in the past, but I won't ever think that specifying localized information in the model layer is a good design. At best I could accept it for default value, but localized message it in no way a business logic concern, it's pretty much a pure presentation one. The model layer should return error code/keys and parameters and it should be the responsibility of the view layer to translate it in an understandable version for the target client (human or automated). Can't you use a view layer bundle?
Regards,
~ Simon
Maybe you are looking for
-
[web] how can i set the name of an exported html file
Hi, I'm writing a plugin to export galleries for my homepage (standard html stuff). My current solution works and it creates a file named "index.html" and some additional stuff. Now I want to change the name of the created html file in the plugin (f
-
Hi, Can you please tell me if BPM in the Netweaver stack is the same as Integration Process in IR? And what is Business Process Engine? Thanks in advance Siji
-
Re: HP Photosmart 7520 unable to connect to Web Services [ New ]
I can't get it to work, I've tried all the suggestions
-
Dear All, How to do work flow in DMS 1.My requirement is We have three statuses Prepared,Revised and authorized.When Document has been created ,Manager should get email automatically similarly for sencord status the Head should get a mail. Thaen h
-
iTunes newbie wonders if Release Notes are posted anywhere, or whether I'm just supposed to take it on faith that it's worth downloading 58MB every other time I use the software. Aside to ManfromOz: they locked that topic, preventing me from saying "