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

Add i18n support #31

Open
yosbelms opened this issue Jan 4, 2017 · 6 comments
Open

Add i18n support #31

yosbelms opened this issue Jan 4, 2017 · 6 comments
Labels

Comments

@yosbelms
Copy link

yosbelms commented Jan 4, 2017

Should be good to have all texts separated in a .yaml file for easy translation.

@ahmed-bhs
Copy link

guys can someone help me , to made a translation from en to fr ?

@petkopara
Copy link
Owner

petkopara commented Feb 1, 2017

By translation you mean actual language translations or code implementation for the feature?

@ahmed-bhs
Copy link

ahmed-bhs commented Feb 2, 2017

i want to build a multi platform luangage the problém that i didnt get a way to translate these message(exmple: Next ,Previous,Filter,DElete,New...) using symfony transaltor component.
i alreday have this file : app\Ressources\Translations\messages.fr.yml:


Groups: Groups
View user:                       Voir l'utilisateur
"%entity% creation":             "Création - %entity%"
"%entity% edit":                 "Modification - %entity%"
"%entity% list":                 "Liste - %entity%"
Actions:                         Actions
Back to the list:                Retour à la liste
Confirm delete:                  Confirmer la suppression
Create:                          Créer
Create a new entry:              Nouveau
Delete:                          Supprimer
"Do you want to proceed?":       "Voulez-vous poursuivre?"
Edit:                            Modifier
Filter:                          Filtrer
No:                              Non
Reset filters:                   Annuler les filtres
show:                            voir
"Show/hide filters":             "Afficher/masquer les filtres"
this procedure is irreversible:  cette procédure est irréversible
Yes:                             Oui
You are about to delete an item: Vous êtes sur le point de supprimer un élément
New:                             ajouter un nv
previous: Précédent
next: Suivant
Delete : Effacer
DELETE : EFFACER
First login : Première connexion
adzd: zeffffffffffffffffff
users was deleted successfully!: Utilisateurs a été supprimé avec succès!
List: Liste
Save: Enregistre
Save and Add: Enregistre et ajouter un nouveau
Reset: Réinitialiser
User: Les Utilisateurs
Are you sure !: Êtes-vous sûr !
The User was deleted successfully: L'utilisateur a été supprimé avec succès
Back to list: Retourner à La Liste
Login count: Nombre de connexions

but nothing work when i set local to fr

@mchojrin
Copy link

mchojrin commented Mar 7, 2017

+1

@ahmed-bhs
Copy link

@petkopara any help plz , any idea

@TonyGao
Copy link

TonyGao commented Nov 17, 2017

I got the same problem at the head of table

<th>{{macros.th_sortable('code',app.request.get('pcg_sort_col'), app.request.get('pcg_sort_order') , 'buyingplanitem') }}</th>
<th>{{macros.th_sortable('申请日期',app.request.get('pcg_sort_col'),

As you see, if I change the head name of table, the sort will not work. And I found th_sortable could add translation filter to add translation like this

{{colName|capitalize|trans}}

But it must be change vendor code and can't add translation label for it.

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

No branches or pull requests

5 participants