Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Adding new file to Lang folder #76

Open
elieandraos opened this issue Jun 26, 2016 · 1 comment
Open

Adding new file to Lang folder #76

elieandraos opened this issue Jun 26, 2016 · 1 comment

Comments

@elieandraos
Copy link

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 ?

@chadidi
Copy link
Contributor

chadidi commented Mar 9, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants