In Laravel, all files from nova-components come with an ar.json file only, even if you are using the English (LTR) version. #6417
-
Description:my laravel app working with 2 differance language ar and en with rtl and ltr so when i use rtl ar all works good when i change to en ltr all my files inside nova-components working on ar.json (arabic) why this happend to me? Detailed steps to reproduce the issue on a fresh Nova installation: |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example) |
Beta Was this translation helpful? Give feedback.
-
How can I send you my private repository?
…On Sat, Jun 1, 2024 at 3:54 AM Mior Muhammad Zaki ***@***.***> wrote:
Unable to reproduce the issue, please provide full reproducing repository
based on fresh installation as suggested in the bug report template (or you
can refer to https://github.com/nova-issues for example)
—
Reply to this email directly, view it on GitHub
<#6416 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2D4ZWVGAKR7Y5Q3VN2Z23ZFELVNAVCNFSM6AAAAABITVEYIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGE4DGNJZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
RTL and language are two different features which doesn't depends on each other. You need to provide a reproducing repository in order for us to understand what's exactly is wrong and to debug the issue. |
Beta Was this translation helpful? Give feedback.
-
okay okay the main problem is my program take all the data from ar.json
while the app running en why?
…On Sat, Jun 1, 2024 at 4:16 AM Mior Muhammad Zaki ***@***.***> wrote:
RTL and language are two different features which doesn't depends on each
other. You need to provide a reproducing repository in order for us to
understand what's exactly is wrong and to debug the issue.
—
Reply to this email directly, view it on GitHub
<#6416 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2D4ZSB2BREV7NFTSMHPMLZFEOFJAVCNFSM6AAAAABITVEYIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGE4TGNBWGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
My problem is all the data inside nova-components are translated to ar.json
even if my app is en to get from en.json
I have to remove ar.json to get my english translation
why?
On Sat, Jun 1, 2024 at 4:17 AM Mohamed abuassi ***@***.***>
wrote:
… okay okay the main problem is my program take all the data from ar.json
while the app running en why?
On Sat, Jun 1, 2024 at 4:16 AM Mior Muhammad Zaki <
***@***.***> wrote:
> RTL and language are two different features which doesn't depends on each
> other. You need to provide a reproducing repository in order for us to
> understand what's exactly is wrong and to debug the issue.
>
> —
> Reply to this email directly, view it on GitHub
> <#6416 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AK2D4ZSB2BREV7NFTSMHPMLZFEOFJAVCNFSM6AAAAABITVEYIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGE4TGNBWGQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
i put my problem inside this video
https://drive.google.com/file/d/1zT5TcbQ28b1JVhH0so5BP5YwTirt73Of/view?usp=sharing
On Sat, Jun 1, 2024 at 4:19 AM Mohamed abuassi ***@***.***>
wrote:
… My problem is all the data inside nova-components are translated to
ar.json even if my app is en to get from en.json
I have to remove ar.json to get my english translation
why?
On Sat, Jun 1, 2024 at 4:17 AM Mohamed abuassi <
***@***.***> wrote:
> okay okay the main problem is my program take all the data from ar.json
> while the app running en why?
>
> On Sat, Jun 1, 2024 at 4:16 AM Mior Muhammad Zaki <
> ***@***.***> wrote:
>
>> RTL and language are two different features which doesn't depends on
>> each other. You need to provide a reproducing repository in order for us to
>> understand what's exactly is wrong and to debug the issue.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#6416 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AK2D4ZSB2BREV7NFTSMHPMLZFEOFJAVCNFSM6AAAAABITVEYIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGE4TGNBWGQ>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
|
Beta Was this translation helpful? Give feedback.
-
look i go to app.php and change local to en it works with english and
ar.json not working
there is a problem with nova-components with this issue
On Sat, Jun 1, 2024 at 4:21 AM Mohamed abuassi ***@***.***>
wrote:
… i put my problem inside this video
https://drive.google.com/file/d/1zT5TcbQ28b1JVhH0so5BP5YwTirt73Of/view?usp=sharing
On Sat, Jun 1, 2024 at 4:19 AM Mohamed abuassi <
***@***.***> wrote:
> My problem is all the data inside nova-components are translated to
> ar.json even if my app is en to get from en.json
> I have to remove ar.json to get my english translation
> why?
>
> On Sat, Jun 1, 2024 at 4:17 AM Mohamed abuassi <
> ***@***.***> wrote:
>
>> okay okay the main problem is my program take all the data from ar.json
>> while the app running en why?
>>
>> On Sat, Jun 1, 2024 at 4:16 AM Mior Muhammad Zaki <
>> ***@***.***> wrote:
>>
>>> RTL and language are two different features which doesn't depends on
>>> each other. You need to provide a reproducing repository in order for us to
>>> understand what's exactly is wrong and to debug the issue.
>>>
>>> —
>>> Reply to this email directly, view it on GitHub
>>> <#6416 (comment)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/AK2D4ZSB2BREV7NFTSMHPMLZFEOFJAVCNFSM6AAAAABITVEYIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGE4TGNBWGQ>
>>> .
>>> You are receiving this because you authored the thread.Message ID:
>>> ***@***.***>
>>>
>>
|
Beta Was this translation helpful? Give feedback.
-
'middleware' => [
'web',
+ \App\Http\Middleware\LanguageMiddleware::class,
HandleInertiaRequests::class,
DispatchServingNovaEvent::class,
BootTools::class,
- \App\Http\Middleware\LanguageMiddleware::class,
], |
Beta Was this translation helpful? Give feedback.
HandleInertiaRequests
loads the translations for the frontend, you need to change the locale earlier than that.