|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
dritzz Smarty n00b
Joined: 15 Feb 2008 Posts: 2
|
Posted: Mon Feb 18, 2008 4:07 pm Post subject: SmartyML |
|
|
Bonjour,
J'ais beaucoup de problemes quand a l utilisation de la class SmartyML pour l internationalisation de mon site.
Je voulais savoir si certains d'entre vous l'utilisait?
j'ai deja regarde tout les forums possibles et inimaginaux.
Peut-etre avez-vous d autres methodes pour une internationalisation?
Merci d 'avance.
Pierre. |
|
Back to top |
|
ryu007 Smarty Rookie
Joined: 13 Feb 2008 Posts: 5
|
Posted: Mon Feb 18, 2008 6:04 pm Post subject: |
|
|
J'utilise ma propre classe.
ça charge les définitions via un fichier xml (ça importe dans la base)
Toutes les définitions sont ensuite mises en cache.
Après j'ai plus qu'à récupéré ma def avec la propriété suivante via smarty :
Code: | {$language->get('account_login')} |
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|