MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Feature Request: Edit Language Strings & Messages from Admin UI (Closed) (MonoX Roadmap )

Viewed 15379 time(s), 4 post(s) 4/24/2014 1:11:16 AMby gstadter
gstadter

gstadter

4/24/2014 1:11:16 AM
It would be a leap forward, in my opinion, if strings and messages could be modified right in the Admin Portal UI.
I had recently learned about the availability of the MonoX Localization Resources package on GitHub (referenced thread).
While this method is usable, I think it is reasonable that in most instances(at least in my experience), customizations of messages that are displayed to users will usually need to be made.   When supporting multiple instances, through several version upgrades, I would begin to question whether the presumed performance gain is truly worth forcing admins to go through such a process to make simple changes to words, phrases, and messages on the site.   After all, it is a "content management system".
This content has not been rated yet. 
669 Reputation 67 Total posts
khorvat

khorvat

4/24/2014 9:04:40 AM
MonoX CMS has localization UI screen, it is placed on the admin dashboard "Other tasks -> Portal Localization" or you can also find it under "Quick Tasks -> Other tasks -> Portal Localization" available on every administration page placed on the top left of the screen.

If you want to us Portal Localization you will need to enable it in web.config you need to change the following 

From
 
    <ResourceProviderModel defaultProvider="ResourceManager">
      <providers>
        <clear />
        <add name="ResourceManager" type="System.Resources.ResourceManager, Mscorlib" customProperties="" />
        <add name="DBResourceManager" type="MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager, MonoSoftware.Web.ResourceProviderModel" customProperties="" />
      </providers>
    </ResourceProviderModel>
 
To
 
 
    <ResourceProviderModel defaultProvider="DBResourceManager">
      <providers>
        <clear />
        <add name="ResourceManager" type="System.Resources.ResourceManager, Mscorlib" customProperties="" />
        <add name="DBResourceManager" type="MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager, MonoSoftware.Web.ResourceProviderModel" customProperties="" />
      </providers>
    </ResourceProviderModel>
Note that if you are doing some custom development and using this provider you will be required to

- manually insert new resources in the database
- to use Resource Provider Strongly Typed Resource Generator - can be found in download section

You can also read more about MonoX localization here
ASP-NET-localization-settings-in-MonoX
Working-with-Monox-localization-resources

Regards
Rated 5.00, 1 vote(s). 
15993 Reputation 2214 Total posts
gstadter

gstadter

4/25/2014 12:06:37 PM
My apologies.   I will do better in the future to me more thorough in my search of existing documentation before posting.
This content has not been rated yet. 
669 Reputation 67 Total posts
khorvat

khorvat

4/25/2014 12:19:07 PM
No problem :) I'm glad that you have found everything you need.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts