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.

Change text  (Mono Support )

15022 put(a) pogledan, 7 odgovor(a) 17.6.2014. 3:05:57Kreirao(la) Samtg
Samtg

Samtg

17.6.2014. 3:05:57
Hi,
     I was wondering how to change text on the website, such as in the Profile, for example, in About, change "About Me:".  This is just one of many examples, but the only place I saw to change it is in LocalizationString.sql, but changes made did not change it.  Thank you.

Ovaj sadržaj još nije ocijenjen. 
440 Reputacija 38 Ukupno objava
mzilic

mzilic

17.6.2014. 9:19:38
Hello,

MonoX by default uses Resource localization (resx), you can also change this to use DBResourceManager. In order to make your localization changes you need to download our resource localization available here: https://github.com/MonoSoftware/MonoX-Localization-Resources then make your changes and replace the dll in your project.

Regards,
Mario
Ocjena 5,00, 1 glas(ova). 
2218 Reputacija 300 Ukupno objava
Samtg

Samtg

18.6.2014. 15:29:55
When you download the files, to make sure I got this right, which files go where (including what dll), and what changes will appear different after it is done?  Thanks.
Ovaj sadržaj još nije ocijenjen. 
440 Reputacija 38 Ukupno objava
mzilic

mzilic

20.6.2014. 16:52:10
Hello,

You should download the localization project, reference relevant (or missing) MonoX dependencies which you can see in the references. After then you should just change the resources you want and build the project. Finally just replace the Localization dll inside MonoX bin directory.

Regards
Ocjena 5,00, 1 glas(ova). 
2218 Reputacija 300 Ukupno objava
Zoomicon

Zoomicon

25.8.2014. 13:16:06
the only broken reference seems to be "MonoSoftware.Web.ResourceProviderModel" which one can find at the "bin" folder of the site after they expand References / do Add Reference / select Browse...
Ovaj sadržaj još nije ocijenjen. 
2793 Reputacija 345 Ukupno objava
Zoomicon

Zoomicon

25.8.2014. 14:19:13

I've unpacked that source into a "Localization" folder in the website, then I opened up with VS2013 and fixed the reference mentioned above

Then I set the project to output to the "bin" folder of the website when using Release configuration (not the Debug one) and rebuilt

However, I notice in "bin" folder of the site there is say "es-ES" folder that has

MonoX.Localization.resources.dll (NEW)

MonoX.resources.dll (OLD)

are the 2nd ones leftovers from the past? Should I remove them?

- also in hr-HR I see the extra file MonoSoftware.MonoX.DAL.resources. Is this needed? There is also "MonoSoftware.MonoX.DAL" and "MonoSoftware.MonoX.DALDBSpecific" in the main "bin" folder

Ovaj sadržaj još nije ocijenjen. 
2793 Reputacija 345 Ukupno objava
idrazic

idrazic

9.9.2014. 12:47:21
Hi Zoomicon,

MonoX.Localization.resources.dll  keep
MonoX.resources.dll remove
MonoSoftware.MonoX.DAL.resources.dll remove
MonoSoftware.MonoX.DAL.dll keep
MonoSoftware.MonoX.DALDBSpecific.dll keep

Regards,
Igor
Ocjena 5,00, 1 glas(ova). 
1384 Reputacija 152 Ukupno objava