<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tukunen13</author_name>
  <author_url>https://blog.hatena.ne.jp/tukunen13/</author_url>
  <blog_title>つくねの手帳</blog_title>
  <blog_url>https://tukunen13.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Qt</anon>
  </categories>
  <description>この記事はQt4.8.4基準で記載します。Qtにはソース上の文字列を拾い上げて、翻訳用のファイルを作っておくことで、プログラム実行時に動的言語変換ができます。 具体的な手順は割愛しますが、 QLabel text; text.setText(tr(&quot;string&quot;)); のように、trでくくった文字列をlupdateで抜き出し、xml形式の.tsファイルを生成します。 その.tsファイルをQtLinguistで手動翻訳し、lreleaseで.qmファイルを作り、その.qmファイルをプログラムで読み込みます。 .qmファイルがどのように生成されているかわからないので、実際に動作させてみて確かめた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftukunen13.hatenablog.jp%2Fentry%2F2017%2F01%2F08%2F022200&quot; title=&quot; Qt 同じ単語に複数の翻訳をあてるのに少し頑張った話１ - つくねの手帳&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-01-08 02:22:00</published>
  <title> Qt 同じ単語に複数の翻訳をあてるのに少し頑張った話１</title>
  <type>rich</type>
  <url>https://tukunen13.hatenablog.jp/entry/2017/01/08/022200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
