Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksModify locales.xml to enable en-GBModify locales.xml to enable en-GB
Previous
 
Next
New Post
4/4/2007 4:48 PM
 
Hi,
I am really repeating an old problem I have found and can repeat and fix but don't really understand.
I have a DNN implementation (4.4.1) for which I don't want to use en-US but which I do want en-GB and es-ES.

I set it up as normal, add en-GB and es-ES and disable en-US on my portal.
I use apollo but I'm fairly sure that is irrelevant.

When I switch between en-GB and es-ES with my language selector, the module content changes, but the framework does not (my host language is spanish as is my locale and explorer language - the framework stays in Spanish).

If I delete the en-US entry in the locales.xml then it works just fine - this is a solution for me, but it wouldn't be if I also wanted en-US on any of my portals.

I have reported this before here

Anybody have any ideas as to what is happening here?
 
New Post
4/5/2007 3:00 AM
 
I can only answer what I already did on the other thread: this is a cause of the disabled en-US locale. Since it's disabled this isn't used at all, except as the final fallback if no other resource is found. What you can try is setting your portal to en-GB. I'm not sure, but maybe, since this entry does not have any resource file, it will then use the default en-US one.

Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
4/5/2007 4:38 AM
 
Thanks Vicenç,
But isn't it a hole in the DNN support of locales?  The concept of a fallback locale seems emminently sensible and the values are there in the support files, just not in the implementation - I speak from ignorance, but it doesn't sound like a major change to get it to work correctly. 

It would seem a major overhead to have to install a complete new language pack just to be able to get dates to display correctly.
 
New Post
4/5/2007 5:38 AM
 

I understand what you mean, but the point here is that you have that particular locale disabled! That's why it is not showing. That's what disable is for.


Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
4/5/2007 5:49 AM
 
But if I don't have the locale disabled the my drop down shows Spanish, English and English.

It's not a very elegant solution!!

I don't want the locale en-US I just want it as a fallback.

The documentation states:-

When a translation isn’t available in a particular resource file, we fallback onto another resource file to try to get
the translation from there.

and the bottom of the stack is the system language en-US, so unless my configuration is wrong something isn't working properly.  I'm happy to try raising it in Gemini, but I don't agree with your interpretation of the problem
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksModify locales.xml to enable en-GBModify locales.xml to enable en-GB


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out