Well, that doesn’t really help me figure out what you need to do. I’m not very familiar with WPML. It’s also not my file. I just help out here on this support forum. However, editing one of the core files of the plugin isn’t usually a good idea, there are plenty of hooks in ACF and there are hooks in WPML as far as I know.
Here’s an example of getting language independent values from ACF, it’s for options values but it can likely be adapted to use for other things as well. https://gist.github.com/senlin/4fd15ba7a19533ceb9fe