Xcode 9 - Use a language depending on the target - xcode

I have an application which is using English - Development Language and Danish.
Because I don't know Danish it would be easy for me to have both languages available for a target that I am using for development and to keep only Danish for the target that I use for production/Danish testers.
It is possible to achieve this?
Thank you!

Related

how can change language of an application into english from Chinese

I have an Application for windows which is written in Chinese that I need to change it into english. The application has no option to change the language so I'm wondering if it would be possible to do so?
The application I am trying to change is meant for communication with ARM 51 MCU board.
Please let me know if this can be done.
If it is possible I have a translator who can translate between Chinese and English for the application.

Internationalization English & Indian languages

I am working on a Java application primarily on English but also hope to support Indian languages like Hindi, Telugu and Gujarati. I am wondering what can be a good strategy for this.
I have seen I18N projects in Latin script based languages but Hindi uses Devanagri script so it's a little more complicated.
Has anyone done anything close to this ?
To be honest, the scripts and languages you mentioned are not necessary very common in programming. Since you didn't mention whether it will be desktop or web application, it will be quite hard to give you any advice apart from use latest Java (7) and ICU (49.1 or even 50M2) version.
That's because this releases support newer version of the Unicode Standard, and it will play a role here.
BTW. You might want to know, that the Unicode Consortium is working on better support for Indian scripts. Therefore developing applications with this languages in mind will be easier in the future, for now you will probably struggle a bit.

GUI depends on language and platform?

This is not a programming question but its more general. I have worked with lot of gui libraries to develop Pc/Mobile applications. Like cocoa for mac and iphone developemnt, .net libraries for c#, qt for c++. In an nutshell using of library depends on the language,developing platform and target platform.
Now my question: does that mean we have to choose language and platform according to GUI we want to build? for eg, I like the GUI and GUI componenents(their visual appearence) of the mac the most. Then should I use objective c and mac platform? If I want good looking GUI then should I choose language and platform according to that?
Thanks and regards
does that mean we have to choose language and platform according to GUI we want to build?
Yes, the language and the platform you are targeting are the first things you have to choose. Unfortunately there's no universal language that will give you great looking GUIs among all platforms. Probably that's one of the reasons why internet web sites developed so much. Because as long as you have a capable browser running on your device the site will work.

How do you port a Windows-based application written in Delphi to different platforms such as Mac, iPhone and into a web-based application?

Currently, it is just a windows-based application (slowed down guitar software) written in Delphi. However, I do have plans to port them to the following platforms :
Mac
iPhone
Web-based
How do I go about this? What is the bes programming language to use? What kind of developers do I need to look for? And how long will these projects be?
If you want to keep the Delphi code, then take a look at Lazarus/FreePascal. I have to say that I don't have used it for more than a Hello World yet, so you have to evaluate yourself if it can help you, but it's free and it supports Windows/Mac/Linux. Windows Mobile is also supported.
For 1 and 2 you'd be looking at Cocoa, for 3 you could either go Flash/Java Applet/Silverlight depending on how complex the software is. Obviously Flash would not be the best to use for large projects. But Silverlight and Java Applets are capable platforms that can suite just about any need.
I'm afraid you can not simply "port" Delphi code into all those enviroments. Ok, moving Delphi logic via Delphi.NET to web based may be simple, but using delphi code for Mac or iPhone... Harder. Probably you will have to rewrite it from scratch, most probably in Java.
Thanks for that. I was already thinking along those lines. Yeah, I am thinking of dropping Delphi for the Web-based and start from scratch for the web-based because I have heard so much of the power of Java. Although my only constraint is the whole Delphi (windows) application will be put to waste, especially now that its being enhanced on some features. Aren't there some codes in Delphi that can be salvaged for Java?

Native Tongue as Default Language For an Application

When downloading both Firefox and Chrome, I've noticed that the default version I got was in my native tongue of Hebrew. I personally don't like my applications in Hebrew, since I'm used to the English UI conventions embedded in me since long ago by:
The lack of choice: Most programs don't offer interfaces in multiple languages and when they do, those languages are usually English and the developer's native tongue.
Programming languages which are almost completely bound to the English language.
My question then is this:
If you translate your applications, would you limit the UI to the user's native tongue or give them the choice by enabling more than one language pack by default?
Which language would your application default to (which is interesting mostly if you only install one language pack with your application)?
And also generally I'd like to know how much value do you put into translating your applications on a whole.
I've helped develop an application that was used by Dutch, English, Spanish and Portuguese speaking users. Because the application installed from CD we just added all the language packs. Mostly because it saved us a lot of work not having to maintain 4 different versions.
If your application distributed from a website and you have to support more than only 4 languages I can imagine you don't want to let everyone download every language pack. But only distributing the native languages of people downloading the application seems a bit restrictive. Most people I know actually like their software in english. So at least adding the english language to all the versions makes sense.
I've never written an application for use by a large number of people, and never for anyone that didn't use English as their language, but if I did, I would probably take a route that installs all available language packs at install (unless the user did a custom install, where I would allow them to choose language packs) and then switch between languages as an option inside the program. If I had to only choose one language, I would choose English if I was doing all of the work, or the native language of the users if I had a translator.
When writing an application for multilingual use, I use Microsoft's Best Practices for Developing World-Ready Applications, which includes retrieving the current CultureInfo from the OS and using that as the default language pack.
I usually try to ship products with all available sets of localized resources. Upon a user's first launch of the product, the UI is presented in the localization most closely matching the OS on their machine. Once within the app, the user has the option of switching the UI to one of the other available localizations.
I think it is very important to provide localizations that match one's target markets. Most "normal" people (not software developers!) prefer by far to have a UI in their native language.

Resources