implements locales system + error handling on Market module

Add locale + new error handling for Market

Fix locales path ( broken after change of folder naming: local -> locale)