Warning: Table './drupal_fandt_old/accesslog' is marked as crashed and last (automatic?) repair failed query: SELECT uid, timestamp FROM accesslog WHERE (path = 'node/71' OR uid > 0) AND sid = 'f4d48a83421d06ce29d8d23a3a9a337a' ORDER BY timestamp DESC LIMIT 0, 1 in /var/www/akishige/fandt/includes/database.mysqli.inc on line 128
Drupal 7 がコンテクスト別翻訳をサポート! | FOREST & trees

Drupal 7 がコンテクスト別翻訳をサポート!

今までのバージョンの Drupal では,翻訳可能な原文が複数の場面で使われていても,その場面の違いを認識できませんでした。この問題が,Drupal 7 になって(さらなる努力は必要ですが)解決したようです。

たとえば,ユーザーを追加するページ (http://example.com/admin/user/user/create) でパスワード強度を判定していて,パスワードが十分に複雑な場合には“strong”という文字列が返されます。この場面にふさわしい訳語は,「強い」「強固」などでしょう。

同じ“strong”という文字列が別の箇所,たとえば Compose tips (入力の手引き http://example.com/filter/tips) でも,HTML の <strong> タグの機能について説明するために使用されているのです。この場面にふさわしい訳は,「強調」でしょう。

Drupal 6 までの翻訳可能文字列を識別する t() 関数では,この両者の違いを認識できませんでした。

しかし,ありがたいことに,Drupal 7 になって,t() 関数が context というパラメーターを受け付けるようになりました。

たとえば,前者の“strong”という文字列を,以下のように t() 関数で囲います。
t('Strong', array(), array('context' => 'password strength'))
また,後者の“strong”は,以下のようにします。
t('Strong', array(), array('context' => 'compose tips'))
(上記の context パラメーターは例です)

こうすることで,Drupal の翻訳インターフェースや l.d.o. で,それぞれの“strong”は同じ文字列ながら別々の翻訳対象オブジェクトとして認識されるようになりそうです。

ただ,Drupal コアそのものも,この context パラメーターをそれほど活用できておらず,l.d.o. 管理者の Gabor さんによると,上記の“strong”のように訳し分けが必要な文字列を翻訳者や翻訳版 Drupal のユーザーたちがレポートしてくれるのを期待しているとのことです。僕たち自身が使いやすい Drupal を作るためにも,そして他の言語を使う人たちの役に立つためにも,こうした二つ以上の場面で使われていて,いずれかの意味が不適切な翻訳を発見したら l.d.o. の issue queue までぜひお知らせください。もし英語での報告が心配な方は,私までご連絡いただければ私が翻訳して issue queue まで報告いたします。

Comments

I have been gaining a lot of

I have been gaining a lot of usable and exemplifying stuff in your website.ataturk airport to taksim square

You finished a couple fine

You finished a couple fine focuses there. I did a hunt on the subject and discovered about all persons will oblige with your site. Emotional Hook Formula Review

Thanks to

goldenslotThanks to the information provided in this too. It is Me too  

This stuff is down t earth,

This stuff is down t earth, hats off buds out there. Desktop PC Test

You possess presented

You possess presented everybody that i are able to be able to write compatible with I just ever previously concept I was able to.blog droit

An immense moonlike of

An immense moonlike of commendation, reserve it up. girlsdoporn

I truly delighted in perusing

I truly delighted in perusing this post, huge fan. Keep doing awesome me when would you be able to distribute more articles or where would I be able to peruse more on the subject? cheap dab rigs

Thanks

 goldenslotThe information you provide is information that is useful to me, not ever.   

goldenslotThe information you

goldenslotThe information you provide is information that is useful to me, not ever.    

The information

 goldenslotThe information you provide is information that is useful to me, not ever.   

Lagu Mp3

Exictly whit i greit webstte

Exictly whit i greit webstte you've here. Pleise updite tt regulirly. Thts subject ts my curtostty. Thinks. . . gmodfreenodownload.pen.io

Socialplease.com

Much luck to you for sharing such reliable information. Hope to see more of this in the future. Thanks!how to gain twitter followers

Lovely post

I am happy to find this website useful and informative. You did work very well. I would like to say bundle of thanks for this work. Keep it up. Visit this website

A new survey on luxury

A new survey on luxury http://www.beck-pollitzer.com/wp-send.php spending by wealthy consumers in China indicates a soft demand trend may continue. Spending on gifts fell 25% last year http://www.propertyletinsurance.co.uk/database/index.asp, while overall spending by the wealthy fell 15% http://www.lawlists.org. Related stocks: Gucci (GUCG), Prada, Louis Vuitton (LVMUY),

Beautiful collection, please

Beautiful collection, please we need more of trendy and contemporary styles!!!!!!!! followers gratis | instagram like hack

The official masterships for

The official masterships for all age classes are organised by the JKA once a year and are open to Kendama players from all over the world.game online

But today this write-up will

But today this write-up will discuss how Infrared Saunas is the most recent and ideal treatment for these common golf injuries.http://injuredshoulder.com

I may seem quiet when you

I may seem quiet when you first meet me but that's just how I lure my victims.vampire outfits

Happy Mothers Day Images-Messages

Best Mothers Day Images, Messages, Pictures,wishes, Wallpapers,sms,greetings, Cards,Mothers Day Poems,Quotes To Share On Whatsapp,Facebook,Twitter And Other Social Mediamothers day imagesmothers day best messagesfacebook mothers day imagesmothers day facebook imagesmothers day wallpapersmothers day whatsapp imageshappy mothers day quotesmothers day quotes from daughtermothers day images

Obat Step anak

I am very pleased to be able to visit this website , Because the news is very interesting to see and thanks for providing this website to say joined commented

Reply

Thank you sir, This news very interesting sir, and I like this article, becasue same like a Cara menghilangkan benjolan di ketiak Obat untuk kanker kandungan stadium 4 Penyakit yang bisa disembuhkan dengan jelly gamat

I am actually impressed by

I am actually impressed by this on-line journal! very clear clarification of problems is given and it's hospitable each living soul. I actually have perused your post, actually you have got given this extraordinary informative information concerning it.

hospitable each living soul.

hospitable each living soul. I actually have perused your post, actually you have got given this extraordinary informative information concerning it. Marketing1on1 SEO small business

If you are looking for a fast

If you are looking for a fast way to become a better football player, here are my suggestions and tips. The first thing I suggest you do is write down your goals...clash of clan cheat . 8 ball pool coin hack

Encompassing a diverse body

Encompassing a diverse body of work from delicate watercolors done on her voyages East to bold oils influenced by time spent in Europe, her work mingles experiences in Asia, Europe, and America. do my essays for me

THanks

I feel very happy after reading your article . Because with such that Icould broaden my knowledge of science and technology and other sciences .The point of all this is when I read your website , I became inspired to write and learn again
Obat Herbal Green World
Obat Penyakit Diabetes
Obat Maag
Tips Tubuh Langsing
Obat Pelancar Peredaran Darah
Obat Gagal Ginjal

I am very happy to be on the

I am very happy to be on the website when you though the words china but I can understand what the intent and purpose of your writing this
Obat Penyakit Kuning
Obat Impotensi
Obat Herbal Rambut Rontok
Obat Tumor Bibir

great

Вся информация по настройке

Вся информация по настройке роутера 192.168.1.1

All people are involved in

All people are involved in earning money in today’s running life, but very few are succeeded, and if you are not from them or if you are looking to earn much wealth without going through any hard labour then you should go through the mean of Black Magic for Money. vashikaran mantra for husband

best biotechnology colleges in rajasthan

Greetings! Very helpful advice within this post! It is the little changes that produce the most significant changes.Thanks for sharing!best biotechnology colleges in rajasthan

best coaching for ias in jaipur 

Happy to visit your website and can share information like my website that provides information about health for example,best coaching for ias in jaipur 

labradorite earrings

wow!! really good info that i did not know about thanks so much i apreciate your bloglabradorite earrings

The smash is so powerfull and

The smash is so powerfull and yeah, the opponent can't do anything about it. He is the king of tennis :) Marketing1on1 small business SEO Jade

info

regards. I am delighted with the article in front of me, with his no information that I got here I could have more experience, I say thank you. obat kuat 18+ alat bantu sex, jual alat sex pria wanita terbaru

Medical Travel and Tour Thailand

In direct word HealthCare is convergence point edges now and it's going comprehensive. Beginning now I said there is simply old news new as to Healthcare Tourism, the heading of stream what's has the impact. Truly people from people from poor countries flew out to well off ones examining for cutting edge steady thought. In a matter of minutes the standard issue is that its total turning now from well off countries and look for after has been started for a splendid spot where it's stunning and with an unrivaled nature of affiliation and care. 

obat aborsiampuh

The posts that I’ve been waiting for from fro to seek social bookmarking and met in this blogobat aborsi ampuh aborsi obat

penghilang tato

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your postspenghilang tato

How to get free psn codes

I giving you free psn codes of 100$ that for life time free service. You do not need other for PS game.

Good Information

it has been months for me. Well this article that i've been waited for so long Visit my website Bila anda mengingikan tubuh yang edial gunakan Obat diet cepat Pelangsing Alami aman dan cepat, obat slimming Capsule ini bisa menurukan berat badan 5 s.d 10 kg perbulan. dan bagi anda yang mengidap penyakit jantung koroner kami ada Obat jantung koroner Obat strokeherbal china ...untuk menjadi member greenworld klik saja greenworld indonesiaProduk herbal Greenworld Bisa anda dapat disini Produk Herbal Greenworld Indonesia

Reply

Very interesting blog. A lot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know. Direct APK Download and Prank Android Games. I’ve bookmarked your site and I’m adding your RSS feeds

superb

http://www.studiopress.com/forums/users/zocorweb/http://en.community.dell.com/members/danmorikhttp://www.brownpapertickets.com/profile/1543565https://java.net/people/1129749-joseph67https://myspace.com/joseph.boucher5

Great.

Thanks for this great post.great work. info titan review | info titan bonus | info titan download

Relocation

With best compliments from Packers and Movers Car Movers

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.