Home › Forum › Problemi Vari con WP › traduzione template ahimsa
-
AutorePost
-
-
22 Gennaio 2009 alle 9:34 #9183kimigon75Partecipante
salve non riesco a tradurre questo template in italiano chi mi da una mano?
il template si chiama ahimsa e si trova a questo link
-
22 Gennaio 2009 alle 9:38 #61603SteveAglAmministratore del forum
Dire non riesco a tradurlo è come dire non sto bene ad un dottore e prentendere che questi in base soloa questa affermazione ti dia la cura giusta.. vedi un po’ tu…
-
22 Gennaio 2009 alle 10:52 #61610kimigon75Partecipante
scusate sno stato poco chiaro
ho tradotto molte voci che ho trovato nel file comment.php
ma tante voci che risultano in inglese non riesco a trovarle se qualcuno e’ esperto puo’ dirmi di solito in quale file del template sono posizionate
le voci da tradurre
i file si dividono in
Articolo singolo (single.php)
Barra laterale (sidebar.php)
Commenti (comments.php)
Funzioni tema (functions.php)
Modulo di ricerca (searchform.php)
Pagina principale (index.php)
Piè di pagina (footer.php)
Template pagine (page.php)
Testata (header.php)
tra le voci da tradurre ho bisogno alle seguenti
in ogni post pubblicato devo tradurre
gen 21st, 2009 by kimigon75 con 21 gennaio, 2009 da kimigon75
read the rest of the entry con leggi tutto l’articolo
no comment con nessun commento
categories con categorie
e molti altri ……..
parecchi li ho trovati ma tanti non vi riesco
-
22 Gennaio 2009 alle 10:56 #61611SteveAglAmministratore del forum
le stringhe le trovi in tutti i file del tema… a priori non si può dire se vi siano o meno ad esempio header.php può avere stringhe da tradurre o meno.. erogo ci si mette con pazienza e si passa tutto il codice. Alcune stringhe sono generate da WP ma in quel caso se hai WP in italiano sono tradotte…
-
22 Gennaio 2009 alle 11:26 #61614wollyAmministratore del forum
steve mi sa che sta traduendo il tema modificando le stringhe e non usando il canonico poedit, forse quel tema non è progettato per la localizzazione.
-
22 Gennaio 2009 alle 11:40 #61615SteveAglAmministratore del forum
Ed io che ho risposto che le stringhe le trova in tutti i file del tema e quindi deve passarseli tutti a manina, però alcune stringhe di alcune funzioni di WP hanno valori predefiniti se non specificati nel tema e quelle sono presenti nel file di localizzazione di WP ed appaiono in italiano avendo WP italiano.
-
22 Gennaio 2009 alle 12:21 #61617Q-designPartecipante
Devi cercare i codici necessari:
ad esempio per la data, troverai nei file del tema una istruzione tipo
[? php the_time(‘F jS, Y’) ?] by [? php the_author() ?] (con i maggiori/minori al posto delle parentesi quadre)
per ottenere quello che vuoi, cambialo in
[? php the_time(‘d F Y’) ?] da [? php the_author() ?] (con i maggiori/minori al posto delle parentesi quadre)
se usi un editor di testo per le modifiche, fai una ricerca del testo da cambiare e te la sbrighi in pochi minuti, anche perché è un tema con pochi file.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.