i've created a new folder with the following:
also modified on composer config as following
{
"name": "anbilarabi/anbilarabi-custom",
"type": "flarum-extension",
"description": "Anbilarabi Hub Custom pack.",
"keywords": ["locale"],
"license": "MIT",
"authors": [
{
"name": "Ahmadnaser",
"email": "info@ahmadnaser.com"
}
],
"support": {
"issues": "https://ahmadnaser.com",
"source": "https://ahmadnaser.com",
"docs": "https://ahmadnaser.com"
},
"require": {
"flarum/core": "^0.1.0-beta.9"
},
"extra": {
"branch-alias": {
"dev-master": "1.5.x-dev"
},
"flarum-extension": {
"title": "AnbilarbiHub",
"icon": {
"image": "icon.svg",
"backgroundColor": "#00247d",
"backgroundSize": "cover",
"backgroundPosition": "center"
}
},
"flarum-locale": {
"code": "id",
"title": "Arabic"
}
}
}
and added the following resources inside locale folder
ar.yml
flarum-best-answer:
admin:
permissions:
best_answer: => flarum-best-answer.ref.best_answer
settings:
title: "اعدادات افضل اجابة"
allow_select_own_post: "Allow user can select own post"
forum:
this_best_answer: "هذه افضل اجابة"
remove_best_answer: "ازالة افضل اجابة"
header_best_answer: "افضل اجابة"
best_answer_button: => flarum-best-answer.ref.best_answer
best_answer: => flarum-best-answer.ref.best_answer
best_answer_label: تم تعيينة بواسطة <a>{username}</a>
ref:
best_answer: 'افضل اجابة'
i've applied composer update and clear, migrate, clear cache command but don't see it under extensions