Helium theme: map and translation

Discussion in 'Helium' started by espirografo, Jul 11, 2017.

  1. espirografo

    espirografo New Member

    Joined:
    Jul 10, 2017
    Messages:
    11
    Likes Received:
    0
    Hello, I need some help with the map that comes with the Helium wordpress theme (contact section); I need set the map arrow location but the documentation (Helium and map site) do not helped me.
    The map is in my site at:
    http://www.espirografo.com.br/site/contato/
    espirografo-site-map.jpg



    I need translate some sections of Helium theme (search, at top letf and widget bar) to brazillian portuguese; Can help me?
    espirografo-site-search.jpg

    Thanks for any reply, and forecast of response (or% of progress of the response)
     
    #1 espirografo, Jul 11, 2017
    Last edited: Jul 14, 2017
  2. espirografo

    espirografo New Member

    Joined:
    Jul 10, 2017
    Messages:
    11
    Likes Received:
    0
  3. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,584
    Likes Received:
    58
    Hi,

    To translate, you need to use the available WordPress translation files.

    Use poedit: https://poedit.net/

    Then open the file ichiban.pot inside the /languages folder of the theme using poedit.

    Translate your strings, save the file as pt_BR.mo/pt_BR.po and upload it to the theme's /languages folder.

    Then go to Settings > General and change your Site Language to Brazilian Portuguese.

    Let me know if you're not sure about something.

    Thanks!
     
  4. espirografo

    espirografo New Member

    Joined:
    Jul 10, 2017
    Messages:
    11
    Likes Received:
    0
    Maimairel,

    I found the portable version of Poedit at
    https://portableapps.com/node/16579 (with faster install) to generate the pt_BR.po and pt_BR.mo. files.

    I couldn't find the ichiban.pot file, but I found the helium.pot file at
    [wordpress installation folder]/wp-content/themes/helium/languages
    to do the translation.

    If can help me about the arrow map settings in Leartflet map, I thank you.

    The translation method in WP MU (WordPress Multi User) installations is the same?
     
    #4 espirografo, Jul 18, 2017
    Last edited: Jul 18, 2017
  5. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,584
    Likes Received:
    58
    Sorry, helium.pot is the right one :)

    Which arrow setting do you mean?
     
  6. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,584
    Likes Received:
    58
    Yes there shouldn't be any problem with multi user/multisite installations as the translation is a core WordPress feature.
     
  7. espirografo

    espirografo New Member

    Joined:
    Jul 10, 2017
    Messages:
    11
    Likes Received:
    0
    This screenshot illustrates the problem:
    helium map arrow positioning problem.jpg
     
  8. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,584
    Likes Received:
    58
    You already know how to put a marker, so you only need the coordinates now.
    Fill the marker with the correct lng lat coordinates. Get the coordinates from Google Maps and put it there.

    You can also use this website:
    http://www.mapcoordinates.net/en

    Thanks!
     
  9. espirografo

    espirografo New Member

    Joined:
    Jul 10, 2017
    Messages:
    11
    Likes Received:
    0
    I did what you said, but do not work properly. If could send me a better way to fix this problem, I thank you.
    If not, I'll have to replace this map.
    I send screenshots that illustrates the procedures and results.

    map-coordinates-1.jpg map-coordinates-2-site-espirografo-map-edit.jpg map-coordinates-3-results-contact-page-site-espirografo-map.jpg
     

Share This Page