Hi,
Depending on which page you are loading.
The initial code that determines the language to load is from:
/administrator/components/com_easysocial/includes/configuration/configuration.php, line 88, that determines the language string.
JavaScripts that are loading this property is:
/media/com_easysocial/scripts/easysocial-[version].[mode][.type].js
version would be the EasySocial version that you are running
mode would either be static or optimized, depending on the environment of the page. Ideally if you are not running EasyBlog/EasyDiscuss/Komento related elements on the same page as EasySocial, then this would be 'static', else it would be 'optimized'.
.type only exist if the script used is a compressed version. By default the system always loads the compressed version, hence this will be '.min'
There is 4 possible combination for this:
/media/com_easysocial/scripts/easysocial-1.3.13.optimized.js
/media/com_easysocial/scripts/easysocial-1.3.13.optimized.min.js
/media/com_easysocial/scripts/easysocial-1.3.13.static.js
/media/com_easysocial/scripts/easysocial-1.3.13.static.min.js
Ideally, it would most likely be /media/com_easysocial/scripts/easysocial-1.3.12.static.min.js but because this script is a compressed script, the codes are minified and not readable.
You will need to go to backend -> Settings -> System Preferences and set the environment to development in order to debug. This will force the system to load individual scripts instead of 1 compiled script.
Currently 3 area uses Moment Language:
/media/com_easysocial/scripts/apps/fields/event/startend/content.js - Used in Create Event, Edit Event, for the "Start End" field
/media/com_easysocial/scripts/apps/fields/user/datetime/content.js - Used in Registration, Edit Profile, for the "Datetime" and "Birthday" Field
/media/com_easysocial/scripts/story/event.js - Used in Dashboard's Event Creation Story Form.
Depending on where your error is, you will have to inspect the appropriate file. The property that is used to retrieve the language code is "EasySocial.options.momentLang".
If you were to modify the javascripts, and would like to apply the changes to the compiled script, you will have to go to backend and execute the url:
site.com/administrator/index.php?option=com_easysocial&compile=1&minify=1
This will recompile all the individual scripts and you can now set the system preferences back to "Production" mode.