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  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
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.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  Modify locales.xml to enable en-GB
Previous Previous
 
Next Next
New Post 4/4/2007 1:48 PM
User is offline Caroig
84 posts
10th Ranked


Modify locales.xml to enable en-GB 
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 12:00 AM
User is offline Vicenç Masanas
1375 posts
www.disgrafic.com
6th Ranked








Re: Modify locales.xml to enable en-GB 
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.
Disgrafic.com
 
New Post 4/5/2007 1:38 AM
User is offline Caroig
84 posts
10th Ranked


Re: Modify locales.xml to enable en-GB 
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 2:38 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, 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.


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


Re: Modify locales.xml to enable en-GB 
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 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.

 


"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl

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