piccolo_admin icon indicating copy to clipboard operation
piccolo_admin copied to clipboard

Add extra languages to translations

Open dantownsend opened this issue 2 years ago • 4 comments

We recently add translation support to Piccolo Admin.

We'd love to add support for more languages. To do so, simply copy and modify one of the existing languages:

https://github.com/piccolo-orm/piccolo_admin/blob/master/piccolo_admin/translations/data.py

For example:

MY_LANGUAGE = Translation(
    language_name="My Language",
    language_code="xx",
    translations={
        "About": "XXX",
        ...
    }
)

dantownsend avatar Jul 22 '22 09:07 dantownsend

hi i can add persian language and cuz its rtl i can make styles trl too.(if u want)

Saeed-Paris avatar Jul 28 '22 06:07 Saeed-Paris

@Saeed-Paris That would be great, thanks!

I don't have much experience with RTL languages - I don't know how difficult it will be to implement.

dantownsend avatar Jul 29 '22 08:07 dantownsend

I would like to respectfully improve one or two things in the french translations:

- "Add Row": "Ajouter une ligne" instead of "Ajouter une rangée"

- "Add": "Ajouter" instead of "Additionner"

- "Ascending": "Croissant" instead of "Ascendant"

- "Clear filters": "Effacer tous les filtres" instead of "Filtres à claire"

- "Close": "Fermer" instead of "proche"

- "Descending": "Décroissant" instead of "Descendant"

- "Forms": "Formulaires" instead of "Formes"

- "Home": "Accueil" instead of "Maison"

LeMeteore avatar Aug 27 '22 21:08 LeMeteore

@LeMeteore Yes, please do! The French translations were machine translated, so not the best.

dantownsend avatar Aug 27 '22 21:08 dantownsend