localized-carbon icon indicating copy to clipboard operation
localized-carbon copied to clipboard

Adding new file to Lang folder

Open elieandraos opened this issue 9 years ago • 1 comments

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 avatar Jun 26 '16 15:06 elieandraos

لقد قمت بإضافته كما ترى هنا يمكنك تحديث الحزمة لكي يضاف إلى ملفاتك @elieandraos

chadidi avatar Mar 09 '17 18:03 chadidi