{"id":1190,"date":"2024-04-04T20:31:43","date_gmt":"2024-04-05T00:31:43","guid":{"rendered":"https:\/\/canada.wordcamp.org\/2024\/?post_type=wcb_session&#038;p=1190"},"modified":"2024-04-25T18:32:55","modified_gmt":"2024-04-25T22:32:55","slug":"developing-with-wpml","status":"publish","type":"wcb_session","link":"https:\/\/canada.wordcamp.org\/2024\/session\/developing-with-wpml\/","title":{"rendered":"Developing with WPML"},"content":{"rendered":"\n<p>A wise man once said, &#8220;Hard things are hard.&#8221; WPML aims to make the hard things easier by adding multilingual capabilities to your site. But during the course of your development, you will come across times when you&#8217;ll have to roll up your sleeves and get into the code to make something work. This talk will show how I&#8217;ve met challenges in site traslation, and the code that made it happen. <\/p>\n\n\n<p>Topics will include<br \/>\n&#8211; adjusting server settings to avoid drama<br \/>\n&#8211; what a text domain is and how to use it<br \/>\n&#8211; escaping translated text and why you should<br \/>\n&#8211; crafting string translations that make your translator&#8217;s life easier<br \/>\n&#8211; making your own language switcher<br \/>\n&#8211; and any other gotchas I can think up.<\/p>\n\n\n<div class=\"wp-block-wordcamp-session-speakers\"><span class=\"wp-block-wordcamp-session-speakers__byline\">Presented by<\/span><span class=\"wp-block-wordcamp-session-speakers__name\"><a href=\"https:\/\/canada.wordcamp.org\/2024\/speaker\/mike-d\/\">Mike D<\/a><\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>A wise man once said, &#8220;Hard things are hard.&#8221; WPML aims to make the hard things easier by adding multilingual capabilities to your site. But during the course of your development, you will come across times when you&#8217;ll have to roll up your sleeves and get into the code to make something work. This talk [&hellip;]<\/p>\n","protected":false},"author":7756733,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1720879200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1189],"footnotes":""},"session_track":[47],"session_category":[],"class_list":["post-1190","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-a-west"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"July 13, 2024","time":"10:00 am"},"session_speakers":[{"id":"1189","slug":"mike-d","name":"Mike D","link":"https:\/\/canada.wordcamp.org\/2024\/speaker\/mike-d\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/1190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/1190\/revisions"}],"predecessor-version":[{"id":6306,"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/1190\/revisions\/6306"}],"speakers":[{"embeddable":true,"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/speakers\/1189"}],"author":[{"embeddable":true,"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wporg\/v1\/users\/themiked"}],"wp:attachment":[{"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/media?parent=1190"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_track?post=1190"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/canada.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_category?post=1190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}