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/5/2007 6:21 AM
 

I understand what you mean. Please don't consider I'm not taking your issue seriously. What I'm trying to do is explain why it works that way, which maybe is not correct.

The resource fallback explanation you pointed to is ok, but it is not used if a locale is disabled. No matter it is the bottom of the stack, if it is disable and there's another option, the other option will be used. And that this moment I'm not sure changing this behaviour will introduce more trouble than benefit.


Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
4/5/2007 2:27 PM
 
OK - your're right I can set my portal language to en-GB to ensure my en-GB users don't see Spanish.

But I am in Spain and the primary language for my portal is Castellano es-ES.

I'm not talking about outlandish scenarios here.  OK, if I want to support en-GB (which I do for dates, currency etc) I can, however unintuative it is, set my portal language to en-GB so that my British users pickup the en-GB locale and the en-US language pack (MM/DD/YY is not obvious this side of pond).

Now I'll make a wild guess that you have your browser set as Catalan, ca.  Although I want my portal in Spanish and you probably, politics aside would prefer to see it in Castellano rather than English.  Given the current setup I cannot deliver that without a 'core mod' of deleting the base language in my locales.xml.

I'm going to quote another bit of the documentation just to show how anal I am:-

The System Locale, Default Portal Locale, and the User Selected Locale support the use
of a Fallback Locale.

Now I'm sure that is open to interpretation, but I understand it that I can specify a 'Fallback Locale' for each of the scenarios above.  If I look at the locales.xml - it's already there:-

(root)
  (language name="Español (España)" key="es-ES" fallback="en-US" /)
  (language name="English (United Kingdom)" key="en-GB" fallback="en-US" /)
(/root)

The only place it seems to be missing is in the code.

Come on, the internet's a tough enough place for non US speakers and sites.
I think that the core currently doesn't work as it should and if dynamic translation is really in the pipeline then it might good idea to set a few principals here before we take the plunge.
 
New Post
3/28/2008 6:21 PM
 

Caroig: This discussion stopped a year ago just when it was getting interesting! What did you do to prevent to English flags appearing on your web pages? I am tryng to solve this today.

 
New Post
3/31/2008 7:52 AM
 

Solved. I just needed to disable the en-US language pack at the portal level. No need to mess with locales.xml:-)

 
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