Checks whether remote translation sources are used.
bool Returns TRUE if remote translations sources should be taken into account when checking or importing translation files, FALSE otherwise.
function locale_translation_use_remote_source() {
return config('locale.settings')
->get('translation.use_source') == LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL;
}