You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Yannick Charbonneau <yc...@uottawa.ca> on 2012/12/04 15:40:34 UTC

Adding new locale

Hi All,

We are trying to add fr_CA locale, following;

https://cwiki.apache.org/VCL/adding-a-new-locale-to-the-vcl-web-frontend.html

What part of this howto gets the entry in the dropdown?

We are trying to test and cannot seem to get "French (CA)" to show up.

Thanks

Yanik

Re: Adding new locale

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yanick,

VCL builds the list of locale's that are in the drop down based on what is in 
the filesystem.  After it checks the filesystem, it caches the list of locales 
in your php session.  If you have not logged out/in since you created the 
files in the filesystem, you will not be seeing the new locale in the list.

If you have logged out/in, check that you have the following items:

js/nls/fr_CA/messages.js
locale/fr_CA
locale/fr_CA/LC_MESSAGES/vcl.mo
locale/fr_CA/language

Also, ensure that locale/fr_CA/language contains a line that is what should be 
displayed in the drop-down box.

Thanks,
Josh

On Tuesday, December 04, 2012 2:40:34 PM Yannick Charbonneau wrote:
> Hi All,
> 
> We are trying to add fr_CA locale, following;
> 
> https://cwiki.apache.org/VCL/adding-a-new-locale-to-the-vcl-web-frontend.htm
> l
> 
> What part of this howto gets the entry in the dropdown?
> 
> We are trying to test and cannot seem to get "French (CA)" to show up.
> 
> Thanks
> 
> Yanik
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlC+FBQACgkQV/LQcNdtPQNAQwCdFTzwJCv5wzuUKMVGNRJiZ/Ht
2wwAn3JyQjf0TwHfsdr1EZiqFJX0vbJd
=MGJL
-----END PGP SIGNATURE-----