Support » Plugin: Transposh WordPress Translation » Transposh not allowing editing of numbers/dates

  • Resolved Tyrel Kelsey

    (@ninnypants)


    We’ve been using Transposh for spanish translations of our website,and it’s working really well.

    We have an editor that is going through and cleaning up some of the translations, but we’re running into some trouble in our events section. Since it’s being translated from en to es the dates need to be reversed, but Transposh doesn’t seem to allow you to edit numbers/punctuation is this normal behavior for the plugin?

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Ofer Wald

    (@oferwald)

    This is the normal behavior, however you can change that by modifying the top of parser.php

    good luck

    EffortlessEnglishClubPl

    (@effortlessenglishclubpl)

    Hey… can you lead a blind man through the changes that need to be made?

    Plugin Author Ofer Wald

    (@oferwald)

    Can’t lead a blind man, just look at the top of that file.

    EffortlessEnglishClubPl

    (@effortlessenglishclubpl)

    Lol…I did….darn it…

    * Date: Tue, 02 Aug 2011 03:11:42 +0300
     */
    
    require_once("shd/simple_html_dom.php");
    require_once("constants.php");
    
    require_once("utils.php");
    
    define('PUNCT_BREAKS', TRUE); // Will punctiations such as , . ( and such will break a phrase
    define('NUM_BREAKS', TRUE); // Will a number break a phrase
    define('ENT_BREAKS', TRUE); // Will an HTML entity break a phrase
    
    /**
     * parserstats class - holds parser statistics
     */
    class parserstats {

    I changed the trues to false and nothing changed. In the mean time, the whole plugin stopped working. Switching langauges doesn’t do anything anymore….well, not exactly….Some of the module titles get translated but most things do not. (if you look at the site, don’t get confused, there are a couple of articles written in Polish but most of it is in English.)

    This was all working yesterday morning. I have a very active group of a couple of people who have been correcting translations for the last couple of weeks. Now, they are pretty much stuck.

    Don’t get me wrong, I don’t think the little change I made caused this to not work. I changed it back obviously but it was during this time I noticed it stopped working.

    jezyk.pila.pl

    Image of my settings

    Something else, it says that I should have a cache plugin, such as wp-super cache…I do 🙂 Transposh doesn’t see it. Is there something I need to change?

    Thanks again for a Great plugin.

    Doug

    ps. where might I find the human translations? The translations via google don’t break the sentences in the correct places because the grammar is pretty complex. We need to get into the ‘guts’ of the thing.

    Cheers!

    pss. I’m really not that blind, I just hadn’t looked before I lept. I know my way around wordpress and plugins, no programmer here but I can get around. One of those guys who knows enough to get into trouble but not enough to get out of it.

    Plugin Author Ofer Wald

    (@oferwald)

    Ok,

    First, you have something wrong with jQuery on your site, probably some old version or another thing, take a look at your js console.

    the “complaint” is about lack of in-memory cache plugin, such as apc or memcached, and it is just a warning, nothing too harsh

    let me know how you fare,

    Good luck

    UnGlove – Doug

    (@nes-native-english-services)

    Hi.. I hope you see this this weekend.

    I finally have time today and tomorrow to look for my problem.

    You say I probably have a jQuery problem. Unfortunately I don’t understand jQuery. I will go read up on it now.

    For some reason transposh stopped working. I don’t know why nor do I know how to look at my ‘js consol’ I understand a bit of java script but only how it calls information from another file and processes this information. I do not know know where or exacty what the js consol is.

    If you get this and have a moment, it would be great if you could give me a hand.

    If there is anything I can help you with… 🙂 I’d be more than happy.

    This is a Great Plugin and I do appreciate it very much. My students like it and there are a few who actively translate although at the moment we’re kinda stuck.

    Thanks,
    Doug

    UnGlove – Doug

    (@nes-native-english-services)

    Something to look at….

    If you change the language only some of the widgets translate. It used to work GReAT…It used to translate all the standard wp text also, like the date and comments…now none of those are working but as I said, some of the titles to widgets are translated. I’m goin nuts…

    Plugin Author Ofer Wald

    (@oferwald)

    A link to your site will help…

    UnGlove – Doug

    (@nes-native-english-services)

    Great….Just call me stupid….

    jezyk.pila.pl

    UnGlove – Doug

    (@nes-native-english-services)

    I just reactivated the widget. You can see there is some funny things happening with the layout and when you click the dropdown.

    UnGlove – Doug

    (@nes-native-english-services)

    I have no idea what I’ve donw, but more of the plugin is working again…

    Now it’s only not translating the main menu and a widget title. Not sure where or what to look for.

    Plugin Author Ofer Wald

    (@oferwald)

    Come on,

    You have the error
    init.js:1Uncaught ReferenceError: jQuery is not defined
    (anonymous function)init.js:1

    This is either your template, or another mess up with jQuery, nothing to do with us, please fix your site, or pay someone who can if you are unable to.

    Good luck

    UnGlove – Doug

    (@nes-native-english-services)

    Wow,

    I wasn’t expecting to get chastised. Thanks for the sarcastic unnecessary remarks. If I new what all that Sh1t meant, I wouldn’t be here asking for help.

    When I said, ‘call me stupid’…I didn’t mean it literally.

    Thanks for nothing…well, nothing worthwhile anyways.

    Plugin Author Ofer Wald

    (@oferwald)

    Nobody is calling you stupid, however you are expecting us to solve your site issues which are irrelevant to our plugin, you asked for help, and you got it, and you can’t use it, and than you complain.

    Do what suits you, I have no further suggestions to you.

    UnGlove – Doug

    (@nes-native-english-services)

    Oh I wasn’t complaining, i just thought the tone of your comments was a little ‘It’s not my damn fault, it’s yours’ and ‘if you aren’t able to do it, go pay someone, (idiot)’ was a little unnecessary.

    I didn’t attempt to ‘blame’ your plugin, it just stopped working and I didn’t and still don’t know why.

    I called out for help, like the person who started this thread. I got the same kind of help. “Coder help”.

    This is the normal behavior, however you can change that by modifying the top of parser.php

    good luck

    Modify it how? I questioned that even…. and got nothing useful that’s helpful.

    I asked about what the jconsol was…you didn’t even mention it…you just pointed out the problem and said fix it or pay someone.

    the “complaint” is about lack of in-memory cache plugin, such as apc or memcached, and it is just a warning, nothing too harsh

    let me know how you fare,

    I did let you know how I fare and you continue to write to me like a coder and give me more “coder speak” which I ask for a little more guidance and get ‘ugly’ answers.

    I didn’t ask you to login and fix my site, I simply asked a few more questions about where to find answers.

    Obviously that is NOT here.

    Once again, thanks for nothin.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Transposh not allowing editing of numbers/dates’ is closed to new replies.