Forum Replies Created
-
AuthorPosts
-
October 18, 2016 at 1:08 am in reply to: I need help to translate Genesis Framework in my language #194947Roberto PorcarMember
Check it with a clean install (maybe you can use instant wordpress if you are on a PC (http://www.instantwp.com/).
For the theme translation you will have to open the pot file from Poedit. You will see a button below with the label "crear traduccion nueva". Choose your desired language from the combo box and you are ready to translate the strings.
You will see some translated sugestions on the right pane and there are shortcuts to go faster 🙂
When saving you will see 2 generated files with po and mo extensions. You can keep both on the theme folder (and maybe you should keep them separately for backup).
October 17, 2016 at 10:25 am in reply to: I need help to translate Genesis Framework in my language #194905Roberto PorcarMemberCould you try to activate genesis translations on the genesis starter theme?
Maybe you have a languages folder on your theme, with a ¿james.pot? file inside.
You should translate those with poedit too.
PD: I never hear before about that error on a genesis theme.
October 16, 2016 at 10:15 am in reply to: I need help to translate Genesis Framework in my language #194838Roberto PorcarMemberWhat theme are you using? you can download poedit (https://poedit.net/), but I never had to use this tool for a genesis theme.
October 16, 2016 at 6:48 am in reply to: I need help to translate Genesis Framework in my language #194828Roberto PorcarMemberI use genesis translations on all my sites (spanish) and works perfectly.
You can do some "manual" fine tuning from your functions.php file, but the translation plugin should do the big job.
Sometimes I change a bunch of strings with this function:
function flamerz_translate( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Next Page' : $translated_text = __( 'Següent', 'genesis' ); break; case 'Previous Page' : $translated_text = __( 'Anterior', 'genesis' ); break; case 'Search this website' : $translated_text = __( 'Buscar en el web', 'genesis' ); break; case 'Search Results for:' : $translated_text = __( 'Resultats de búsqueda per a:', 'genesis' ); break; case 'by' : $translated_text = __( 'per', 'genesis' ); break; case 'Filed Under: ' : $translated_text = __( 'Archivada en: ', 'genesis' ); break; case 'Tagged With: ' : $translated_text = __( 'Etiquetes: ', 'genesis' ); break; case '1 Comment' : $translated_text = __( '1 Comentari', 'genesis' ); break; case '% Comments' : $translated_text = __( '% Comentaris', 'genesis' ); break; case 'Leave a Comment' : $translated_text = __( 'Deixa un comentari', 'genesis' ); break; } return $translated_text; } add_filter( 'gettext', 'flamerz_translate', 20, 3 );
-
AuthorPosts