• Dear Alessandro,

    I gave your plugin another chance this morning. Congratulations to the great rework of the UI, it looks great and clean.

    I wanted to translate your plugin to German, but I can’t manage to get this done. Maybe I’m doing it work, not sure.

    1) First of all, what is the intent of the language dropdown “main language”. The tooltip says “If theme language is one of your language, choose it so that plugin will exclude it from translation table.”, which confuses me even more.

    a) My main language of the site is German.
    I am also using a german translated WordPress (from wpde.org)
    b) My theme master language is US.
    But I have German .po/.mo files provided, and all strings on the website are German.
    Now, what shall be selected there?

    2) The field is currently set to US. When I try to toggle it to German, I receive an timeout error message:
    Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/wordpress/wp-content/plugins/ceceppa-multilingua/Pgettext/mo.php on line 237

    3) In the table underneath, I see plenty of strings, and there is a germn flag displayed. This one is greyed-out for most of the lines, and the strings are US.
    The lines seem to be hyperlinks, but nothing expands when clicking on any of the lines.

    4) Going to the last tab “translated”, I see a lot of US strings, which have an active german flag icon behind them.

    What is wrong here?

    Many thanks in advance. I will glady submit a german translation as soon as this is working.

    Regards,
    Marcus

    https://www.ads-software.com/plugins/ceceppa-multilingua/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Alessandro Senese

    (@ceceppa)

    1) Main language
    a) “Main language” options confuse many people.. I’ll change it ??

    If your languages are “German” and “English” and your theme is written in “English”, you have to choose “English” because you don’t have to translate it in “English” but only “German”…
    This option say to plugin which language exclude fron translation…

    2) strange.. Are you testing it on hosting site or localhost?

    3) In the table allow you to translate all theme strings in your languages, excluded “main language”.

    The plugin display grayed-out flag when think that current string is not translated in that language.

    The line is a like hyperlinks, and should be expanded if you click on it… Which browser are you using?

    4) In translated tab you should see all strings that plugin assume as translated.

    The plugin assume that string is translated when original string is different from its translation…

    Thread Starter marcuszurhorst

    (@marcuszurhorst)

    I am doing all my tests on my live website ??
    — Thus, I think I cannot change the timeout interval.

    I am using Firefox 24.3 ESR on Linux.
    In your previous plugin version (1.3.xx), the translation part worked well. Not sure whether this also had the expand/collapse feature at this time.

    I will try another browser later (IE or another FF on Win7)

    Plugin Author Alessandro Senese

    (@ceceppa)

    Hi,
    I removed “main language” field and replaced it with “Translate in”, so now you have to choose in which of your languages you want to translate the theme…
    I removed clickable row, now translation fields are always displayed ??

    Thread Starter marcuszurhorst

    (@marcuszurhorst)

    Hi Alessandro!

    I updated, and now I am receiving the following error when clicking the “theme” tab:
    Parse error: syntax error, unexpected ‘[‘ in /home/www/wordpress/wp-content/plugins/ceceppa-multilingua/admin/parser.php on line 87

    Is this related to the recent changes?

    Regards,
    Marcus

    Plugin Author Alessandro Senese

    (@ceceppa)

    I got the same error with some themes, fixed in 1.4.8

    Thread Starter marcuszurhorst

    (@marcuszurhorst)

    Sorry Alessandro, it is still not working.
    Whilst the error message is gone, nothing else happens either.

    What I do:
    1) go to “Ceceppa ML in your language”
    2) there i see two toggles for german and english.
    both are disabled by default
    3) Underneath, I see the four tabs “all strings”, “to translate”, “incomplete” and translated”, but no # of strings yet.
    3) I activate German, because your plugin is already english
    4) Afterwards, I press the save button.
    5) No the four tabs are gone, the toggles are gone, the save button is gone. Nothing anymore. Only the “Ceceppa Multilingua in your language” section headline is displayed.

    Btw, I can also not mark the text of this headline. Maybe something is wrong with layers???

    This time, I am using Firefox 27.0.1 on Windows 7.

    Regards,
    Marcus

    PS: maybe I should just use PoEdit and send you the translations ??

    Plugin Author Alessandro Senese

    (@ceceppa)

    Hi,
    I fixed in 1.4.9, the issue happened only with Firefox ??

    Thread Starter marcuszurhorst

    (@marcuszurhorst)

    Hi!

    It is definetely much better now. For the first time, I see the strings for my “target language” underneath the tabs.

    But there is still another issue:
    I enter a translation and hit the Save-button. A tiny spinner shows up left of the save button. This one is spinning forever. (I expected PHP timeout, but even this did not happen)

    After 2min, I broke this loop by switching to another tab and back.
    The translation has not been stored.

    Regards,
    Marcus

    Side Question:
    What is the purpose of the “incomplete” tab?
    — While PoEdit can mark a string as such, you can’t do this in the frontend.

    Plugin Author Alessandro Senese

    (@ceceppa)

    Hi,
    thanks for report. I added timeout event, so now after 60 seconds plugin will display a message and refresh the page…

    I added Incomplete is used when a string isn’t translated in all enabled languages.
    Now, you can’t mark a string as implete, like poedit, I’ll add it in next updates ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Ceceppa ML plugin translation not working’ is closed to new replies.