Location Services

last person joined: 6 days ago 

Location-based mobile app development and Bluetooth-based asset tracking with Meridian. Gathering analytics and business intelligence from Wi-Fi with Analytics and Location Engine (ALE).
Expand all | Collapse all

Languages and the Meridian Editor

This thread has been viewed 0 times
  • 1.  Languages and the Meridian Editor

    Posted Nov 23, 2015 05:49 PM

    Over the last couple of months, we've noticed a little bit of confusion about how language support works in the Meridian Editor and in our Meridian-powered apps. I hope to clear up a little bit of that confusion.

     

    When we say that we support a language, like Spanish, we mean that if a user has their device language set to Spanish, they will see Spanish content in their Meridian-powered app if, and only if, Spanish translations have been added for the English-language content in the Editor.

     

    When thinking about languages in Meridian-powered apps, it's important to think of them as discrete buckets of content. If I have my device's language set to Spanish, I won't be able to use English-language search terms for my searches. Likewise, if my device's language is set to English, I won't be able to search using Spanish terms.

     

    This can get confusing, sometimes, because there's nothing stopping me from entering Spanish content into the Editor directly. However, if I did add Spanish words to the Editor directly, I would only be able to search for those Spanish words if my device were set to English. Any text that you enter into the Editor directly is treated as English by the Editor.

     

    There is only one way to add non-English language content to the Editor and that is through importing a translation file to the Editor. (We provide translations for non-customizable text in the app.) We recommend that you add all of your content to the Editor as English and then export the translation .po file from the Editor for the language you'd like to add translations. Once you've done so, you can use a program like PO Edit (http://poedit.net) to add your translations to that file. Then you can import that translation file to the Editor and your users will be able to see your translated content on their devices.

     

    We have some documentation on the Editor's language localization process here:

    http://docs.meridianapps.com/article/323-language-localization

     

    If you have any questions about languages, the Editor, and our Meridian-powered apps, I'm happy to answer them.

     

    Shawn Kilburn

    Meridian Technical Writer


    #LocationServices
    #Meridian
    #ALE


  • 2.  RE: Languages and the Meridian Editor

    Posted Oct 13, 2017 04:49 AM

    Hello,

    I recommend http://docs.translatehouse.org/projects/translate-toolkit/en/latest/index.html

    Debian/Ubuntu:

    sudo apt install translate-toolkit
    In Meridian-Editor: Export de.po  
    In terminal: po2csv de.po  de.csv

    In Libre/OpenOffice Calc: edit de.csv and save as csv 
    In terminal: csv2po -t de.po de.csv de.po

    In text-editor: open de.po, delete comment "#. extracted from de.csv" and save 
    In Meridian-Editor: Import de.po 

     

    Maybe this helps someone...

    Regards,

     

    Guido