How does Laravel-modules configure and load language packs?

is not clear in the document, https://nwidart.com/laravel-m.

 $langPath = base_path("resources/lang/modules/blog");

if (is_dir($langPath)) {
    $this->loadTranslationsFrom($langPath, "blog");
} else {
    $this->loadTranslationsFrom(__DIR__ ."/../Resources/lang", "blog");
}

which file is the code in the document to be added to?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2ac4d-33a1a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2ac4d-33a1a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?