You are viewing limited content. For full access, please sign in.

Question

Question

Laserfiche Web Client build-in Language locale code question

asked on February 1, 2021

Hello Laserfiche, in one of my early post:  https://answers.laserfiche.com/questions/183102/Laserfiche-web-client-language-preference-detection#repliestomain

I am asking how to detect Web-client language settings.

However, when I try to test the Language "French" it reports as "fr-FR" which means French French. For people live/work in Canada it actually uses "fr-CA". Mostly they're display the same information in French language but from programming side they belong to different locale code.

Question: How does Laserfiche Web client handling "user browser language" when browser select "fr-CA" as default? 

Other question: is it possible to add new locale to LF web client support list?

 

I know it's kind of small thing but unless I read the cookie I notice it's using different locale so my program have to re-assign culture to let it choose correct resource file.

 

0 0

Replies

replied on February 1, 2021 Show version history

We only have one set of French translations, so we don't need to distinguish between fr-FR and fr-CA from a language perspective. There may be cultural differences that manifest (like thousands separator), but we detect those in another way and don't tie them to the language dropdown. So for us, it doesn't matter. If it helps, you can imagine it just says "fr" with no country code indicated.

 

If the user has it follow the browser language, fr-CA should select French.

It is not possible for you to add a new locale.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.