Results 1 to 2 of 2

Thread: Math functions in .po file

  1. #1
    Thread Starter
    Expired Customer maimento's Avatar
    Join Date
    Nov 2014
    Location
    Denmark
    Posts
    102
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Math functions in .po file

    Hello - looking for community help and hints on this:

    Can simple math functions/expressions be used in a string of a po-file? And of course how? HTML5? Syntax?

    Let say I for instance want to show a daily procentage of total views. The original GNU-text is "%d total views, %d today" - the math is simple %d total views/100 x %d today ... but I can't find a way to make it work.

    Kristian

  2. #2
    Thread Starter
    Expired Customer maimento's Avatar
    Join Date
    Nov 2014
    Location
    Denmark
    Posts
    102
    Thanks
    4
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: March 28th, 2014, 06:07 AM
  2. Problem with the translation file step-functions.php
    By marceloseabra in forum ClassiPress General Discussion
    Replies: 0
    Last Post: November 3rd, 2013, 06:26 PM
  3. Creating a Childtmem with a Functions PHP file
    By compunetitcc in forum ClassiPress General Discussion
    Replies: 5
    Last Post: August 21st, 2013, 06:23 AM
  4. theme-functions.php no such file error message
    By byung in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: July 16th, 2011, 09:56 AM
  5. Step-Functions PHP file
    By tbase in forum ClassiPress General Discussion
    Replies: 0
    Last Post: May 8th, 2010, 12:00 AM