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 PacksProblems supporting en-GBProblems supporting en-GB
Previous
 
Next
New Post
12/1/2006 11:29 AM
 

I'm using DNN 4.3.6 and I support multiple language on my site.  I'm having problems supporting en-GB as a locale on my English/Spanish site.  I have looked at a couple of similar posts on this site but I can't seem find a solution.

When I select English (UK) from the language dropdown, then the date formats etc convert to English but the framework text remains in Spanish.  I expected that with my fallback language set to en-US then these resource files would be used with the en-GB settings.

Can I achieve this or am I really going to have to create a .en-GB.resx  set?

 

My locales.xml file reads as follows:-

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

I also have en-US disabled in Host-Languages (so only UK and ES appear in the dropdown).

My web-config file has the following:-

    <globalization
      culture="en-GB"
      uiCulture="en"
      requestEncoding="UTF-8"
      responseEncoding="UTF-8"
      fileEncoding="UTF-8"/>

I have the default resx files and a set of .es-ES.resx files.

I normally use the language selector from Apollo, but I have tested it with the dnn selector and the results are the same.

Many thanks for any input

 
New Post
12/7/2006 4:51 PM
 

OK - I've got it to work but it doesn't seem like a real solution.

I'ver removed the line

<language name="English (United States)" key="en-US" fallback="" />

from locales.xml and now switching between Spanish and English GB works fine (i.e. loads the US resx files).

But doesn't this mean that i can't have a US portal on this DNN installation? - after all this is at the site and not the portal level

 
New Post
1/4/2007 4:56 AM
 

The problem is that you have en-US disabled. That's why the resources for that language are not used. When you disable a language it will not be used at all (except if it is en-US and no other locale can be used). In your case since en-US is disabled, and I suppose you portal default is es-ES, the spanish resources are used. The only way to solve this is to enale en-US.


Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
1/4/2007 5:15 AM
 

What I want to achieve though is to have en-GB on my portal and not replicate all the resx files.  I would have thought that if I enable en-US, en_GB and es-ES at the site level and then disable en-US at the portal level, then en-GB would use en-US as the fallback, but this didn't seem to work (I've haven't tried it on 4.4), es-ES was used as the fallback for en-GB.

Does setting a fallback language really work or will the portal default be used first?

 
New Post
1/4/2007 6:41 AM
 

If it were enable it would be used, but since it is not, it fallsback to the portal default.

I think you might want to take a look at apollo language selector. It has some options to map a language to another one, that maybe will solve your case.


Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksProblems supporting en-GBProblems supporting 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