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 (Zatvorena) (MonoX Roadmap )

16666 put(a) pogledan, 4 odgovor(a) 24.4.2014. 1:11:16Kreirao(la) gstadter
gstadter

gstadter

24.4.2014. 1:11:16
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".
Ovaj sadržaj još nije ocijenjen. 
669 Reputacija 67 Ukupno objava
khorvat

khorvat

24.4.2014. 9:04:40
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
Ocjena 5,00, 1 glas(ova). 
15993 Reputacija 2214 Ukupno objava
gstadter

gstadter

25.4.2014. 12:06:37
My apologies.   I will do better in the future to me more thorough in my search of existing documentation before posting.
Ovaj sadržaj još nije ocijenjen. 
669 Reputacija 67 Ukupno objava
khorvat

khorvat

25.4.2014. 12:19:07
No problem :) I'm glad that you have found everything you need.

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava