localized-carbon
localized-carbon copied to clipboard
Adding new file to Lang folder
Hello, great package... i am using it to have arabic dates. my issue is in localizedFormat() where i need the months names in arabic. i did vendor:publish and realized there is no months.php file in the lang\ar folder. i created it and still couldn't retrieve the values.
after digging, i had to change one line of code in the localizedFormat() function
$replace = \Lang::get("months." . $langKey); //had to remove localized-carbon::
now my lang files are being loaded. did i miss something ? is there any other way around without changing the source code ?
لقد قمت بإضافته كما ترى هنا يمكنك تحديث الحزمة لكي يضاف إلى ملفاتك @elieandraos