<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4367759521348860977</id><updated>2011-07-28T16:55:26.662-07:00</updated><category term='Internationalization'/><category term='iphone'/><category term='tallyup'/><title type='text'>King Software Design</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kingsoftwaredesign.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4367759521348860977/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kingsoftwaredesign.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>King Brian</name><uri>http://www.blogger.com/profile/18351515944272212678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4367759521348860977.post-4871623077062275800</id><published>2008-10-10T08:54:00.000-07:00</published><updated>2008-10-10T10:17:22.524-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internationalization'/><title type='text'>Internationalization with Cocoa</title><content type='html'>So It looks like 2/5's of my downloads are from outside of the US, and the majority of my initial comments are Internationalization related.   So, I looked to internationalize, and it is as easy as it should be!   But most of the Documentation is Reference based, not examples.   And well, I much prefer to steal and refactor examples than to understand and learn, so I put these forth for future Internationalization people to steal from!&lt;br /&gt;&lt;br /&gt;This &lt;a href="http://developer.apple.com/iphone/library/documentation/MacOSX/Conceptual/BPInternational/BPInternational.html#//apple_ref/doc/uid/10000171"&gt;Document&lt;/a&gt; Is the official documentation for Internationalization.   Good, dry reading.   &lt;br /&gt;&lt;br /&gt;These 3 steps are all I needed to do:&lt;br /&gt;&lt;br /&gt;1) Convert XIB files:&lt;br /&gt; - Internationalize XIB files.   Select the XIB file in XCode, click the info button, and under general press 'Make Localized'&lt;br /&gt; - Extract strings:&lt;span style="font-style:italic;font-weight:bold"&gt; ibtool -L MainWindow.xib &gt; ./MainWindow.strings&lt;/span&gt;&lt;br /&gt; - Translate: See Post below!&lt;br /&gt; - Re-create new XIB File:&lt;span style="font-style:italic;font-weight:bold"&gt;ibtool -d de.lproj/MainMenu.strings English.lproj/MainMenu.nib -W French.lproj/MainMenu.nib&lt;/span&gt;&lt;br /&gt;2) Use NSLocalizedString wherever you have a user-visible string to display&lt;br /&gt; - Modify Code to use NSLocalizedString&lt;br /&gt; - Generate a Localized.strings file auto-matically with: &lt;span style="font-style:italic;font-weight:bold"&gt;genstrings -o t1 *.m&lt;/span&gt;&lt;br /&gt;    This tool is very cool, it actually parses your code and looks for where you use NSLocalizedString and it generates your key/value pairs from the code!&lt;br /&gt; - Translate and copy Localized.strings into the .lproj directories&lt;br /&gt;3) Use the Localized interfaces on any API objects you have.&lt;br /&gt; - For me, the only object was the NSNumberConverter.   I was using a direct number converter, and I realized that it took care of things for all locales even easier!&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;  formatter = [[NSNumberFormatter alloc] init];&lt;br /&gt;  [formatter setNumberStyle:NSNumberFormatterCurrencyStyle];&lt;br /&gt;  [formatter setLocale:[NSLocale currentLocale]];&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I applaud Apple in their toolchain.   It's great that I can develop great user-friendly Apps in a developer-friendly environment!&lt;br /&gt;&lt;br /&gt;Anyone else have any Internationalization Tips?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4367759521348860977-4871623077062275800?l=kingsoftwaredesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kingsoftwaredesign.blogspot.com/feeds/4871623077062275800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4367759521348860977&amp;postID=4871623077062275800' title='50 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4367759521348860977/posts/default/4871623077062275800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4367759521348860977/posts/default/4871623077062275800'/><link rel='alternate' type='text/html' href='http://kingsoftwaredesign.blogspot.com/2008/10/internationalization-with-cocoa.html' title='Internationalization with Cocoa'/><author><name>King Brian</name><uri>http://www.blogger.com/profile/18351515944272212678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>50</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4367759521348860977.post-201795221437036321</id><published>2008-10-10T06:59:00.000-07:00</published><updated>2008-10-10T11:08:26.209-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tallyup'/><title type='text'>Internationalization Assistance!</title><content type='html'>Hi,&lt;br /&gt;    If you would like Tally Up to be localized for your language, please translate the following strings and post below!   This is one problem that I never really thought I'd have to tackle, but almost 2/5ths of downloads are coming from outside the US!&lt;br /&gt;&lt;br /&gt;That's a cool problem in my book!&lt;br /&gt;&lt;br /&gt;Actions&lt;br /&gt;Active Tallies&lt;br /&gt;Name&lt;br /&gt;Cost&lt;br /&gt;Split By&lt;br /&gt;Paid By&lt;br /&gt;Expense Totals&lt;br /&gt;Specify People&lt;br /&gt;Create New Expense&lt;br /&gt;Current Expenses&lt;br /&gt;No Expenses&lt;br /&gt;Tally Summary&lt;br /&gt;Send Tally&lt;br /&gt;Email Tally Summary&lt;br /&gt;Add Person to Tally&lt;br /&gt;People in Tally&lt;br /&gt;No People Specified&lt;br /&gt;Quick Add&lt;br /&gt;Name or Initials&lt;br /&gt;From Contacts&lt;br /&gt;Nobody&lt;br /&gt;Required&lt;br /&gt;Must Enter Cost&lt;br /&gt;&lt;br /&gt;The following I want to put some context around since  a direct translation may not work:&lt;br /&gt;&lt;br /&gt;&amp;lt;Name&amp;gt; owes &amp;lt;Amount&amp;gt;&lt;br /&gt;&amp;lt;Name&amp;gt; is owed &amp;lt;Amount&amp;gt;&lt;br /&gt;&amp;lt;Amount&amp;gt; for &amp;lt;Expense Name&amp;gt;&lt;br /&gt;&amp;lt;Name&amp;gt; is out&lt;br /&gt;&lt;br /&gt;   Thanks for your help.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4367759521348860977-201795221437036321?l=kingsoftwaredesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kingsoftwaredesign.blogspot.com/feeds/201795221437036321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4367759521348860977&amp;postID=201795221437036321' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4367759521348860977/posts/default/201795221437036321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4367759521348860977/posts/default/201795221437036321'/><link rel='alternate' type='text/html' href='http://kingsoftwaredesign.blogspot.com/2008/10/internationalization-assistance.html' title='Internationalization Assistance!'/><author><name>King Brian</name><uri>http://www.blogger.com/profile/18351515944272212678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4367759521348860977.post-2454737344317368317</id><published>2008-09-17T08:37:00.001-07:00</published><updated>2008-09-17T08:39:55.990-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tallyup'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>First iPhone App Submitted!</title><content type='html'>After a fair deal of wrestling with the submission process, Tally Up has been submitted to the App store.   I hope that some people discover it and find it useful!&lt;br /&gt;&lt;br /&gt;Many Thanks to:&lt;br /&gt;&lt;br /&gt;David Russell&lt;br /&gt;Steve Beckwith&lt;br /&gt;Jamie Sutton&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4367759521348860977-2454737344317368317?l=kingsoftwaredesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kingsoftwaredesign.blogspot.com/feeds/2454737344317368317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4367759521348860977&amp;postID=2454737344317368317' title='33 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4367759521348860977/posts/default/2454737344317368317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4367759521348860977/posts/default/2454737344317368317'/><link rel='alternate' type='text/html' href='http://kingsoftwaredesign.blogspot.com/2008/09/first-iphone-app-submitted.html' title='First iPhone App Submitted!'/><author><name>King Brian</name><uri>http://www.blogger.com/profile/18351515944272212678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>33</thr:total></entry></feed>
