Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Translation help

Discussion in 'Sportsbook Support' started by imthebest, Nov 28, 2017.

  1. imthebest

    imthebest Member Showcase Sportsbook


    I'm having a hard time trying to translate those:

    - When someone reports an event, the report title is something like Event 'A vs B'. What phrase should I edit in order to translate "Event"? Note: I already translated nflj_sportsbook_event with no effect on the above situation.

    - When viewing /sportsbook there is block at the right side called "Upcoming events". Inside there are some events listed and with a line Status: open. What phrase should I edit in order to translate "open"? Note: I already translated nflj_sportsbook_status_open with no effect on the above situation.

    - After having translated the phrase nflj_sportsbook_updated to "Changed" (as an example)... when viewing an event that contains an outcome that has been updated, it shows the following: Today hh:mm| Updated: x minutes ago. However if I click on the "Detailed outcomes" tab then I see Today hh:mm | Changed: x minutes ago. As you can see, on the first scenario, it looks like you are ignoring the phrase nflj_sportsbook_updated. Also, you are missing an space between "hh:mm" and "|".

    Last edited: Nov 28, 2017
  2. Bob

    Bob Developer Staff Member

    The Report handler uses a dynamic phrase for that: nflj_sportsbook_event_title. The TITLE of the event is passed into the Phrase.

        public function getContentTitle(array $report, array $contentInfo)
            return new 
    XenForo_Phrase('nflj_sportsbook_event_title', array('title' => $contentInfo['title']));

    The actual enum value is being displayed (as its lower case open and not Open). I've changed this for the next release.

    One was Phrased, the other was not. I've removed the hard coded text and replaced it with the phrase nflj_sportsbook_updated in the next release.
    imthebest likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.