Try our conversational search powered by Generative AI!

"No translations for ..." for everything at first request.

Vote:
 

My problem is that on the first request to a site, you will sometimes get "No translation for ..." for everything...

This is annoying.

Simply reloading the page fixes everything, so the lang files are there, it just appears they are not parsed yet?

Anyone know how to properly fix this?

Will it improve the situation if I reduce the number of language files (fairly standard install, but I am guessing several files can be removed anyways)?

#44718
Oct 13, 2010 13:37
Vote:
 

Remove all languages files you're not using (improves performance as well). Which version of EPiServer CMS are you using?

Frederik

#44738
Oct 13, 2010 21:12
Vote:
 

Is this happening on your dev machine or in production? We had a problem with Visual Studio keeping a lock on the language file (while working on it) so it did not load properly. The page loaded with no translations... (editing in notepad worked fine)

#44743
Oct 14, 2010 7:45
Vote:
 

Version 5R2 etc.

Happens in both production and development.

Did a double check on files, and in one of the 'offending' sites, we only have 2 language files (one for each language).

It 'appears' that language files have just not been 'parsed' yet when the page request is fulfilled, no idea why.

#44778
Oct 14, 2010 16:43
Vote:
 

I would enable logging and take a peek at the log files. The language files will be parsed when the application is initialized.

#44782
Oct 14, 2010 21:46
* 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.