laravel-crm icon indicating copy to clipboard operation
laravel-crm copied to clipboard

Problems with Spanish translation of the calendar and form alerts

Open ViajesIkea opened this issue 2 years ago • 14 comments

I have problems translating the calendar into Spanish. I also cannot find the file of the alerts of the forms to be able to translate them into Spanish.[](url bugsSpanish-TranslateSpanish )

ViajesIkea avatar Jun 06 '22 09:06 ViajesIkea

@ViajesIkea Right now the support for Spanish is not available. If you are using the Spanish locale then you have to create a locale folder and also a file Here for the Spanish locale

Sanjaybhattwebkul avatar Jun 06 '22 10:06 Sanjaybhattwebkul

@ViajesIkea

If still, you are getting the same issue then please let me know. I will guide you.

Sanjaybhattwebkul avatar Jun 06 '22 10:06 Sanjaybhattwebkul

@Sanjaybhattwebkul, Yes I did, but I still have the same problem TranslateToSpanish .

ViajesIkea avatar Jun 06 '22 10:06 ViajesIkea

You have to change the value of keys like:

en/validation.php

'required' => 'The :attribute field is required.',

es/validation.php

'required' => 'La :attribute Se requiere campo.',

Sanjaybhattwebkul avatar Jun 06 '22 10:06 Sanjaybhattwebkul

Yes, I did. requiredTranslated

ViajesIkea avatar Jun 06 '22 10:06 ViajesIkea

But I still have the same problem. It does not change the language of English.

ViajesIkea avatar Jun 06 '22 10:06 ViajesIkea

You need to add Spanish in available_locales https://github.com/krayin/laravel-crm/blob/master/config/app.php

'available_locales' => [
        'en' => 'English',
        'tr' => 'Türkçe',
        'ar' => 'Arabic',
        
        'es' => 'Spanish',       

    ],

gnovaro avatar Jun 06 '22 12:06 gnovaro

Hi @gnovaro! Yes I did, it's the first change I made. availableLocalTraduccion

ViajesIkea avatar Jun 07 '22 07:06 ViajesIkea

But I still have the same problem. alertasFormularios

ViajesIkea avatar Jun 07 '22 07:06 ViajesIkea

Hi @ViajesIkea Please take a pull from here the issue will be resolved.

Sanjaybhattwebkul avatar Jun 09 '22 11:06 Sanjaybhattwebkul

Hi @ViajesIkea Hope your issue will be resolved after taking a pull from this PR, If still, you are getting the same issue, then please let me know.

Sanjaybhattwebkul avatar Jun 13 '22 06:06 Sanjaybhattwebkul

I'm still having the same problem.

ViajesIkea avatar Jun 14 '22 09:06 ViajesIkea

I have made the PR changes, but I still get the same errors.

Everything is in Spanish, the only thing that is not translated are the alerts.

translateofAlerts

ViajesIkea avatar Jun 16 '22 11:06 ViajesIkea

We can create a branch feature for add spanish to the main project together like this https://github.com/krayin/laravel-crm/pull/917

gnovaro avatar Jun 16 '22 12:06 gnovaro

@ViajesIkea

Are you getting the same issue after taking a pull from this Pull request? https://github.com/krayin/laravel-crm/pull/1017

Sanjaybhattwebkul avatar Aug 18 '22 09:08 Sanjaybhattwebkul

@jitendra-webkul Now, this issue is fixed. so I am closing this issue.

Sanjaybhattwebkul avatar Aug 24 '22 08:08 Sanjaybhattwebkul