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  |  

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


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


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.

 


DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com

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