Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spatie\Translatable #153

Closed
amrdesign opened this issue Apr 22, 2024 · 8 comments
Closed

Spatie\Translatable #153

amrdesign opened this issue Apr 22, 2024 · 8 comments

Comments

@amrdesign
Copy link

amrdesign commented Apr 22, 2024

Hello
when i try use Spatie\Translatable\HasTranslations

i add in model

use HasTranslations;

public array $translatable = [
    'title',
    'slug',
    'blocks',
];

i found error when i try to edit page also not save block in first time only save in edit

image

@Z3d0X
Copy link
Owner

Z3d0X commented Apr 22, 2024

This package, as of yet, doesn't support translations

@Z3d0X Z3d0X closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
@amrdesign
Copy link
Author

amrdesign commented Apr 22, 2024

I use this package
https://github.com/Astrotomic/laravel-translatable
its worked fine
image

@bahramzade
Copy link

I use this package https://github.com/Astrotomic/laravel-translatable its worked fine image

how to modify is block layout?

@amrdesign
Copy link
Author

amrdesign commented May 1, 2024

@bahramzade I do not understand can explain

@bahramzade
Copy link

@bahramzadeне понимаю могу объяснить

        TextInput::make('title')->required()->translatable(),
        
        Not work, you use another translate plugin?

@bahramzade
Copy link

I use this package https://github.com/Astrotomic/laravel-translatable its worked fine image

how to modify is block layout?

  •    'prefix' => App::currentLocale(), //?
    

@luckykenlin
Copy link

I use this package https://github.com/Astrotomic/laravel-translatable its worked fine image

Hi, I am facing the same issue. Can you explain more details how do you solve this with https://github.com/Astrotomic/laravel-translatable? thanks

@sarsevanidze
Copy link

I have same issue, how you solved this ?

@bahramzade I do not understand can explain

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

No branches or pull requests

5 participants