Home › Forum › Plugin e temi di WP › tradurre un plugin
-
AutorePost
-
-
24 Maggio 2014 alle 15:26 #27313PinguinobluPartecipante
Salve
ho installato il plugin WP-Property(in inglese).Nella sua cartella langs c’e sia il file wpp-it_IT.mo che wpp-it_IT.po.Ho provato a inserirli anche nella cartella wp-content/languages ma non ottengo nessun risultato.Pensavo che all’interno del plugin ci dovrebbe essere un file dove modificare il puntamento al file .po in italiano.Come posso fare?
Grazie e spero di essere stato chiaro…è da poco che frequento il mondo WP.
-
24 Maggio 2014 alle 16:52 #111653TittiModeratore
Se sei sicuro di avere i define di lingua italiana nel wp-config e di avere i file nel posto indicato dall’autore – mi pare ../wp-content/plugins/wp-property/langs/, ma controlla tu – e non funziona, allora non puoi far altro che rivolgerti al supporto del plugin.
E hai provato ad aprire il file .po con Poedit per vedere se per caso le frasi che hai visto in inglese non sono state tradotte?
P.S.: comunque se la locazione stesse al di fuori della cartella del plugin sarebbe semmai ..wp-content/languages/plugins, non wp-content/languages
-
26 Maggio 2014 alle 14:53 #111691PinguinobluPartecipante
Prima di tutto grazie per la risposta.Purtroppo ho provato a mettere il file .po nelle cartelle da te indicate ma senza nessun risultato…vorrei allegare il file per vedere se è giusto ma non vedo la possibilità di farlo.
-
26 Maggio 2014 alle 14:55 #111692TittiModeratore
Se sei sicuro di avere i define di lingua italiana nel wp-config e di avere i file nel posto indicato dall’autore – mi pare ../wp-content/plugins/wp-property/langs/, ma controlla tu – e non funziona, allora non puoi far altro che rivolgerti al supporto del plugin.
E hai provato ad aprire il file .po con Poedit per vedere se per caso le frasi che hai visto in inglese non sono state tradotte?
Non ti ho detto di mettere il .po in quella cartella – leggi meglio – ho detto solo che la directory wp-content/languages non andrebbe bene in ogni caso, e neppure ti ho detto che il file .po va da solo – va sempre in coppia con .mo.
Li devi mettere entrambi nella cartella indicata dall’autore del plugin, se già ci sono rileggi la parte evidenziata sopra.
-
26 Maggio 2014 alle 15:10 #111693PinguinobluPartecipante
dunque ho controllato il file wp_config.php e contiene define(‘WPLANG’,’it_IT’).Il file.po l’ho messo nel percorso da te indicato e assieme al .mo.Ho controllato le frasi e nel file la traduzione c’è.Prima tutta una sequenza in inglese poi a fianco dell’inglese c’è la traduzione della frase in italiano.Cercherò di rivolgermi al supporto…..grazie comunque.
-
26 Maggio 2014 alle 16:00 #111695elmaniseroPartecipante
Non devi fare nulla, non devi spostare nulla, devi imparare a leggere bene quello che ti viene detto e lasciare tutto com’è visto che nel plugin c’è già la cartella langs con dentro i due file in italiano che per tua sfortuna sono tradotti solo al 23%
O lo finisci di tradurre con il software poedit o con il plugin codestyling localization o te lo tieni cosà¬.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.