<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    you can login [1] to Mer VM and do what you want manually<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="https://sailfishos.org/develop-faq.html">https://sailfishos.org/develop-faq.html</a><br>
    <br>
    <div class="moz-cite-prefix">17.07.2014 15:38, Marcin M. пишет:<br>
    </div>
    <blockquote
cite="mid:CANaCrSRQ5_p12gnO8eUTLR4P9k8Eb2rYr5=06Bhd478odUWL4w@mail.gmail.com"
      type="cite">
      <div dir="ltr">And how can I run the mer's lupdate & lrelease
        from terminal?<br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div>--</div>
          Marcin<br>
        </div>
        <br>
        <br>
        <div class="gmail_quote">2014-07-17 11:36 GMT+02:00 Marcin M. <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:marmistrzmar@gmail.com" target="_blank">marmistrzmar@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>
                  <div>Thanks<br>
                    <br>
                  </div>
                  1. The problem is that Tools/External/lupdate doesn't
                  do anything. I created
                  translations/harbour-myapp-pl.ts, ran
                  Tools/External/lupdate and the pl translation file
                  didn't change.<br>
                  <br>
                </div>
                My .pro looks like that:<br>
                <br>
                TARGET = harbour-myapp<br>
                <br>
                CONFIG += sailfishapp<br>
                <br>
                SOURCES += src/harbour-myapp.cpp \<br>
                    src/settings.cpp<br>
                <br>
                OTHER_FILES += qml/harbour-myapp.qml \<br>
                    qml/cover/CoverPage.qml \<br>
                    rpm/<a moz-do-not-send="true"
                  href="http://harbour-myapp.changes.in" target="_blank">harbour-myapp.changes.in</a>
                \<br>
                    rpm/harbour-myapp.spec \<br>
                    rpm/harbour-myapp.yaml \<br>
                    harbour-myapp.desktop \<br>
                    qml/pages/SettingsPage.qml \<br>
                    qml/pages/MainPage.qml \<br>
                    qml/pages/FontPickerDialog.qml \<br>
                    qml/pages/WelcomeDialog.qml \<br>
                    harbour-myapp.png \<br>
                    translations/harbour-myapp-de.ts \<br>
                    translations/harbour-myapp-pl.ts<br>
                CONFIG += sailfishapp_i18n<br>
                TRANSLATIONS += translations/harbour-myapp-de.ts \<br>
                    translations/harbour-myapp-pl.ts<br>
                <br>
                HEADERS += \<br>
                    src/settings.h<br>
                <br>
              </div>
              What's missing here?<br>
            </div>
            <div class="gmail_extra"><br clear="all">
              <div>
                <div>--</div>
                Marcin<br>
              </div>
              <br>
              <br>
              <div class="gmail_quote">2014-07-17 10:51 GMT+02:00 Luca
                Donaggio <span dir="ltr"><<a moz-do-not-send="true"
                    href="mailto:donaggio@gmail.com" target="_blank">donaggio@gmail.com</a>></span>:
                <div>
                  <div class="h5"><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">
                        <div>
                          <div>1. No, lupdate is included in the virtual
                            machine used to bild your app and invoked
                            automatically<br>
                          </div>
                          2. Just put your harbour-yourappname-xx.ts
                          files into 'translations' directory and you're
                          set<br>
                        </div>
                        3. Usually I install the RPM in the emulator and
                        run it from command line after changing LANG env
                        variable<br>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">
                          <div>
                            <div>On Thu, Jul 17, 2014 at 10:37 AM,
                              Marcin M. <span dir="ltr"><<a
                                  moz-do-not-send="true"
                                  href="mailto:marmistrzmar@gmail.com"
                                  target="_blank">marmistrzmar@gmail.com</a>></span>
                              wrote:<br>
                            </div>
                          </div>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div>
                              <div>
                                <div dir="ltr">
                                  <div>
                                    <div>
                                      <div>
                                        <div>I couldn't find the answers
                                          to a couple of questions:<br>
                                        </div>
                                        1. Does SailfishOS SDK require
                                        external lupdate? If yes, where
                                        can the command for lupdate be
                                        set (as of Mint 17 (Ubuntu
                                        14.04), lupdate-qt5 is not
                                        provided by any package)<br>
                                      </div>
                                      2. If using sailfishapp_i18n, are
                                      the QTranslator steps still
                                      needed? Should
                                      /usr/share/appname/i18n or
                                      .../appname/translations be used?
                                      If ` - '%{_datadir}/%{name}' ` is
                                      already in .yaml is anything else
                                      needed concerning packaging?<br>
                                    </div>
                                    3. What's the recommended way of
                                    testing translations in the
                                    Emulator? setting LANG in the
                                    environmental variables?<br>
                                    <br>
                                  </div>
                                  PS. There's no documentation
                                  concerning this on the <a
                                    moz-do-not-send="true"
                                    href="http://sailfishos.org"
                                    target="_blank">sailfishos.org</a>
                                  website.<br>
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <div>
                                                  <div>--</div>
                                                  Marcin<br>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                                <br>
                              </div>
                            </div>
_______________________________________________<br>
                            SailfishOS.org Devel mailing list<br>
                            To unsubscribe, please send a mail to <a
                              moz-do-not-send="true"
                              href="mailto:devel-unsubscribe@lists.sailfishos.org"
                              target="_blank">devel-unsubscribe@lists.sailfishos.org</a><span><font
                                color="#888888"><br>
                              </font></span></blockquote>
                        </div>
                        <span><font color="#888888"><br>
                            <br clear="all">
                            <br>
                            -- <br>
                            Luca Donaggio
                          </font></span></div>
                      <br>
                      _______________________________________________<br>
                      SailfishOS.org Devel mailing list<br>
                      To unsubscribe, please send a mail to <a
                        moz-do-not-send="true"
                        href="mailto:devel-unsubscribe@lists.sailfishos.org"
                        target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>