London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Fallback language in localization providers

Vote:
 

Case:

* resource does not exist in langugage "en"

* site is configured to use fallback mode in localization providers

* fallback culture - "en".

* Visitor is browsing site in "en" culture.

For single call of the LocalizationService.GetString("...") underlying list of providers are called twice - one for the language visitor is currently using("en"), second call for the fallback language - "en" again.

Does it make sense to call GetString() for the same culture as defined fallback culture if localization service already knows that resource does not exist for that langauge?

#162072
Oct 10, 2016 13:51
Vote:
 

Thank you for reporting this, sounds like a bug to me, we will have a look.

#171757
Nov 17, 2016 13:24
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.