irfanpule / django-form-surveys

Django form survey is an application Django to easier create form survey and easy integrated for your project.
MIT License
56 stars 19 forks source link

Languages problem #51

Closed GeekHamza1 closed 1 year ago

GeekHamza1 commented 1 year ago

hey bro ! i appreciate your work in the project i just have question about Languages , i uncommented LANGUAGE_CODE = "fr" but i still can see english in the project so how i can use the local folder transalation ?!

irfanpule commented 1 year ago

Hello @GeekHamza1

If you look at this https://github.com/irfanpule/django-form-surveys/tree/master/djf_surveys/locale, the only available locales are en and fr. If you remove LANGUAGE_CODE = "fr" it will revert to default language is en.

I'd like you to contribute adding your local language as this is your local language way of working on this project.

GeekHamza1 commented 1 year ago

Hey i want fr language i activated LANGUAGE_CODE = "fr" But it look like only fr language activated in the Admin panel , i still can see english in rendred html pages ...

Its look like the fr local language files not activated

irfanpule commented 1 year ago

Oh I see. I Will check it

irfanpule commented 1 year ago

Hi @GeekHamza1

After checking I thought there was no problem. Make sure you have reloaded or restarted the server.

Below is a screenshot from my development branch

Screenshot 2023-05-02 at 03 00 07

Next is a screenshot of the project that has installed django-form-surveys==1.7.1 via pip

Screenshot 2023-05-02 at 03 00 50 Screenshot 2023-05-02 at 03 08 35
irfanpule commented 1 year ago

Hi @GeekHamza1

Sorry after deep checking there are some translations not working. I don't know what the cause is yet. If you know, feel free to let us know or make a Pull Request. Thank You

GeekHamza1 commented 1 year ago

pull Request sent https://github.com/irfanpule/django-form-surveys/pull/53