• Hello all.

    I am beginer WP user and i have problems with translate.

    I installed newest script version, bought theme (on Themeforest), read some post like this http://codex.wordpress.org/Installing_WordPress_in_Your_Language#WordPress_v4.0_and_above and this http://www.designwall.com/guide/how-to-translate-wordpress-theme/, and created two files .po and .mo.

    Language files copy to wp-content/language and themes/themename/languages folders.

    In Settings/General change language from English to France.

    What happened?

    In header I have error:

    Parse error: syntax error, unexpected '=' in /home/czesiu/domains/tester/public_html/wp-includes/pomo/translations.php(202) : runtime-created function on line 2

    And when i try added some post, I have blank page with this errors:

    Parse error: syntax error, unexpected '=' in /home/czesiu/domains/tester/public_html/wp-includes/pomo/translations.php(202) : runtime-created function on line 2
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/czesiu/domains/tester/public_html/wp-includes/pomo/translations.php(202) : runtime-created function:2) in /home/czesiu/domains/tester/public_html/wp-admin/post.php on line 233
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/czesiu/domains/tester/public_html/wp-includes/pomo/translations.php(202) : runtime-created function:2) in /home/czesiu/domains/tester/public_html/wp-includes/pluggable.php on line 1178

    How fix it?

    Thank you for all replies and sorry for my English:)

Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like the .mo is broken or invalid or corrupt. The files should go to wp-content/languages/themes/themename-fr_FR.po and wp-content/languages/themes/themename-fr_FR.mo

    Thread Starter czesiuhej

    (@czesiuhej)

    Thank you for replies.

    I checked files, rename and move to the folder wp-content/languages/themes/themename-fr_FR.po

    But i have still problems:(

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with translations’ is closed to new replies.