• Hi, I’ve got web in Slovak, but now I wanna get it in Czech too.

    I add the language and in settings, set the http://yfilmy.sk/cz like cz page, but it’s not working.

    When I load this page it only show parse err:

    Parse error: syntax error, unexpected ‘=’ in /yfilmy.sk/wp-includes/pomo/translations.php(202) : runtime-created function on line 2

    Warning: Cannot modify header information – headers already sent by (output started at /yfilmy.sk/wp-includes/pomo/translations.php(202) : runtime-created function:2) in /yfilmy.sk/wp-includes/pluggable.php on line 1196

    https://ww.wp.xz.cn/plugins/qtranslate-x/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Gunu

    (@grafcom)

    @bukvaking

    cz is not Pre-Defined, you included it yourself?

    What are the settings under Edit Language, Language Code – Locale – and so on?

    Plugin Author Gunu

    (@grafcom)

    Thread Starter BukvaKing

    (@bukvaking)

    I included the .mo and .po data to ftp.

    Settings:

    Language Code: cs
    Flag: cz.png
    Name: čeština
    Locale: cs_CZ
    Date Format: %A %B %e%q, %Y
    Time Format: %I:%M %p
    Not Available Message: Promiňte, tento článek je dostupný pouze v %LANG:, : a %.

    the .mo data is from oficial czech wordpress page, i think it coul’d be okay.

    How can I edit the .mo file?

    Plugin Author Gunu

    (@grafcom)

    How can I edit the .mo file?

    To check your .po file (this makes the .mo file) you need Poedit

    the .mo data is from oficial czech wordpress page, i think it coul’d be okay.

    You can download it again to see if it makes a difference.

    Plugin Author Gunu

    (@grafcom)

    by the way, your settings are OK 🙂

    Thread Starter BukvaKing

    (@bukvaking)

    I try to reupload .mo and .po

    And now it have new parse err:

    Parse error: syntax error, unexpected ‘=’ in /data/web/virtuals/61524/virtual/www/domains/yfilmy.sk/wp-includes/pomo/translations.php(403) : runtime-created function on line 3

    Warning: Cannot modify header information – headers already sent by (output started at /data/web/virtuals/61524/virtual/www/domains/yfilmy.sk/wp-includes/pomo/translations.php(403) : runtime-created function:3) in /data/web/virtuals/61524/virtual/www/domains/yfilmy.sk/wp-includes/pluggable.php on line 1196

    But It may have somthing with this.

    I’ve got a second domain http://yfilmy.cz

    When I open this page… page redirect me to http://yfilmy.sk/cz/ page… and show this:

    https://ctrlv.cz/c764

    But after this (when I opened http://yfilmy.cz) the slovak page (http://yfilmy.sk) automatically redirect me to czech version (nevertheless that the default language is slovak – this is doing only after loading .cz domain), but when it redirect to czech automatically it’s near to Works right.

    Like this: https://ctrlv.cz/ppKg

    Same domain (yfilmy.sk/cz) but Works only with unwanted redirect but still with err.

    Thread Starter BukvaKing

    (@bukvaking)

    Okay, It’s not working only with unwanted automatically redirect, it’s working only without “www” in link in combination with redirect from .sk to .sk/cz 🙂 but still with error

    Plugin Author Gunu

    (@grafcom)

    @bukvaking

    you have the .po and .mo files right?

    If you send me these I will see if I see something strange in it.

    gu nu at ma rius – si roen d com

    Thread Starter BukvaKing

    (@bukvaking)

    Okay, I sent it 🙂

    Plugin Author Gunu

    (@grafcom)

    @bukvaking

    Files look good… As a test on my test server installed. No errors operating normally.

    http://snag.gy/4T355.jpg

    What other plugins do you use?

    Plugin Author Gunu

    (@grafcom)

    Slovak language also manual installed?

    If so, please send me also the .po and .mo files

    And publish here your settings

    Thread Starter BukvaKing

    (@bukvaking)

    Slovak settings:

    Settings:

    Language Code: sk
    Flag: sk.png
    Name: Slovensky
    Locale: sk_SK
    Date Format: %A %B %e%q, %Y
    Time Format: %I:%M %p
    Not Available Message: Ospravedlňujeme sa, ale tento film nie je vo vašej jazykovej verzii stránky k dispozícii.

    I sent the slovak files

    Plugin Author Gunu

    (@grafcom)

    Okay, when I install the Slovak language, automatically the next .po and .mo file are loaded from WordPress:

    admin-sk_SK.mo and admin-sk_SK.po (For Czech these files are missing)

    sk_SK.po and sk_SK.mo (not needed to install your files)

    http://snag.gy/p7L9d.jpg

    And no errors. There must be something else goes wrong.

    Thread Starter BukvaKing

    (@bukvaking)

    I’ve got these files for Czech too.

    On my hosting is disabled the set_time_limit() it coul’d be that problem?

    It’s impossible to enabled this function.

    When I enabled the Czech language

    Warning: set_time_limit() has been disabled for security reasons in /data/web/virtuals/61524/virtual/www/domains/yfilmy.sk/wp-content/plugins/qtranslate-x/admin/qtx_update_gettext_db.php on line 37

    but wordpress is still working after this message

    Plugin Author Gunu

    (@grafcom)

    on line 37 there is set_time_limit(300);

    On my hosting is disabled the set_time_limit() it coul’d be that problem?

    Maybe, I do not know.

    It’s impossible to enabled this function.

    That you can ask your provider.

    but wordpress is still working after this message

    Does it now work without any error messages and the two languages?

Viewing 15 replies - 1 through 15 (of 18 total)

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