Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Localization fails 'after a while' #1214


User avatar
0
renevermijs created

Dear reader,

I have created a new language (Dutch) and translated the major part English strings to Dutch. The site is running fine showing Dutch strings (I have set the default language to English) but after a while (typically a few hours) the strings fall back to the strings keys with [] around them. I have included a piece of logging below, the 'LayoutController::Header' items I included myself (and they show the language set to be 'nl').

Recycling the IIS application pool fixes the problem.

What can be the cause of my problem ?

Thanks in advance.

Kind regards,

Rene Vermijs.

... DEBUG 2016-05-29 17:07:31,139 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'AggregatedCounter'... DEBUG 2016-05-29 17:07:31,156 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'Job'... DEBUG 2016-05-29 17:07:31,157 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'List'... DEBUG 2016-05-29 17:07:31,158 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'Set'... DEBUG 2016-05-29 17:07:31,159 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'Hash'... DEBUG 2016-05-29 17:07:34,178 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:12:34,198 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:17:34,249 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:22:34,256 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:27:34,262 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:32:34,345 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:37:34,345 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:42:34,346 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:47:34,355 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:52:34,410 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 17:57:34,503 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 18:02:34,975 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 18:07:31,137 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'AggregatedCounter'... DEBUG 2016-05-29 18:07:31,655 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'Job'... DEBUG 2016-05-29 18:07:31,656 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'List'... DEBUG 2016-05-29 18:07:31,656 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'Set'... DEBUG 2016-05-29 18:07:31,657 [nager] Hangfire.SqlServer.ExpirationManager - Removing outdated records from table 'Hash'... DEBUG 2016-05-29 18:07:35,126 [gator] Hangfire.SqlServer.CountersAggregator - Aggregating records in 'Counter' table... DEBUG 2016-05-29 18:09:10,970 [41 ] b.Areas.Mpa.Controllers.LayoutController - LayoutController::Header -> LocalizationSourceName:BuildingsWithBrains DEBUG 2016-05-29 18:09:10,970 [41 ] b.Areas.Mpa.Controllers.LayoutController - LayoutController::Header -> Languages:|nl|en DEBUG 2016-05-29 18:09:10,970 [41 ] b.Areas.Mpa.Controllers.LayoutController - LayoutController::Header -> Language:nl WARN 2016-05-29 18:09:10,972 [41 ] Abp.Logging.LogHelper - Can not find 'LinkedAccounts' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,973 [41 ] Abp.Logging.LogHelper - Can not find 'ChangePassword' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,973 [41 ] Abp.Logging.LogHelper - Can not find 'ChangeProfilePicture' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,973 [41 ] Abp.Logging.LogHelper - Can not find 'MySettings' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,974 [41 ] Abp.Logging.LogHelper - Can not find 'Logout' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,974 [41 ] Abp.Logging.LogHelper - Can not find 'ManageAccounts' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,974 [41 ] Abp.Logging.LogHelper - Can not find 'SetAllAsRead' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,974 [41 ] Abp.Logging.LogHelper - Can not find 'Settings' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,975 [41 ] Abp.Logging.LogHelper - Can not find 'SetAsRead' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,975 [41 ] Abp.Logging.LogHelper - Can not find 'ThereIsNoNotification' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,975 [41 ] Abp.Logging.LogHelper - Can not find 'SeeAllNotifications' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,996 [41 ] Abp.Logging.LogHelper - Can not find 'Dashboard' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,997 [41 ] Abp.Logging.LogHelper - Can not find 'ForcedControlControl' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,997 [41 ] Abp.Logging.LogHelper - Can not find 'LightingControl' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,997 [41 ] Abp.Logging.LogHelper - Can not find 'SignageSetup' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,998 [41 ] Abp.Logging.LogHelper - Can not find 'Administration' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,998 [41 ] Abp.Logging.LogHelper - Can not find 'OrganizationUnits' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,999 [41 ] Abp.Logging.LogHelper - Can not find 'Roles' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,999 [41 ] Abp.Logging.LogHelper - Can not find 'Users' in localization source 'BuildingsWithBrains'! WARN 2016-05-29 18:09:10,999 [41 ] Abp.Logging.LogHelper - Can not find 'Languages' in localization source 'BuildingsWithBrains'! ...


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Thank you very much for informing us. We will check this problem and will fix it if there is a bug. I created an issue: <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/207">https://github.com/aspnetboilerplate/mo ... issues/207</a>