Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  Modify locales.xml to enable en-GB
Previous Previous
 
Next Next
New Post 4/5/2007 3:21 AM
User is offline Vicenç Masanas
1375 posts
www.disgrafic.com
6th Ranked








Re: Modify locales.xml to enable en-GB 

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.


Disgrafic.com
 
New Post 4/5/2007 11:27 AM
User is offline Caroig
84 posts
10th Ranked


Re: Modify locales.xml to enable en-GB 
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 3:21 PM
User is offline Neil Burnett
29 posts
10th Ranked


Re: Modify locales.xml to enable en-GB 

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 4:52 AM
User is offline Neil Burnett
29 posts
10th Ranked


Re: Modify locales.xml to enable en-GB 

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

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Language Packs ...  Modify locales.xml to enable en-GB
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke Hosting
Powerful DotNetNuke Hosting starting at under $8/mo with FREE SQL 2005, FREE Installation and expert support.
www.re-invent.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP