multilingual

How to use Delphi's built-in multilingual support?

耗尽温柔 提交于 2019-12-18 10:56:12
问题 I use Delphi since version 2 and now on the version XE3. Since BSD2006 I've noticed this menu Languages on the Project main menu . Now that I am interested in build an application available in English, Portuguese and Spanish , I searched for tutorials on the Internet but couldn't find anything about this function, only third party components and wizards. Since English is not my first language, I don't even know how to look for the right terms in order to get to this Delphi tool. Does anyone

Python flask web application with multilanguages support by host and prefix

天涯浪子 提交于 2019-12-18 05:17:08
问题 I have one server with flask application instance and have several domain which mapped to this server by DNS. My site must support several languages by host and prefix: mysite.com - english mysite.com/fr - franch mysite.ru - russian mysite.ru/by - belarusian localhost or other unknown host without language prefix - default language (english) I implemented it with double route registration /endpoint and /<lang>/endpoint and reloaded url_for function and it work, but now I must implement custom

Best way to make an iPhone application multi-lingual

依然范特西╮ 提交于 2019-12-18 04:44:34
问题 Can anyone tell me the best way to go about making an iPhone application support multiple languages? I am going to put separate versions for each language in the App Store, but what is the best way to represent this in Xcode? 回答1: Putting a separate app in the store for each language is NOT the way to go. The iPhone SDK handles multiple languages with grace, and you only need to have a single app with all the various translations. The iPhone's locale setting will direct your app as to which

htaccess multi language site with sub directories, and default 301

前提是你 提交于 2019-12-18 02:40:58
问题 I am having some issues setting up my htaccess to allow multiple languages utilising the sub directory method eg: http://www.domain.com/en/ http://www.domain.com/sw/ http://www.domain.com/ie/ Also to complicate things, the project isn't currently live, its on a dev server. For example, I am currently accessing the project at: http://dev.domain.com/devname/projectname/ And I want the above to automatically 301 redirect to: http://dev.domain.com/devname/projectname/en/ Here is my htaccess:

Multi-lingual web application - how do I detect the user's language in ASP.NET?

我是研究僧i 提交于 2019-12-18 01:58:54
问题 I'm building an ASP.NET web application, and all of my strings are stored in a resource file. I'd like to add a second language to my application, and ideally, I'd like to auto-detect the user's browser language (or windows language) and default to that, instead of making them choose something besides English. Currently, I'm handling all the resource population manually, so adding a second resource file and language is trivial from my point of view, if I had an easy way to automatically

Multi-lingual web application - how do I detect the user's language in ASP.NET?

孤街浪徒 提交于 2019-12-18 01:58:40
问题 I'm building an ASP.NET web application, and all of my strings are stored in a resource file. I'd like to add a second language to my application, and ideally, I'd like to auto-detect the user's browser language (or windows language) and default to that, instead of making them choose something besides English. Currently, I'm handling all the resource population manually, so adding a second resource file and language is trivial from my point of view, if I had an easy way to automatically

Semantic markup for language switcher

不羁岁月 提交于 2019-12-17 17:03:36
问题 Which markup would you use for a language switcher element? Should it be placed before <header> and .skiplink ? Should it be prepended with heading? Any live examples? Here is what I'm using now: <header> <div><a href="#content" class="skiplink">Skip to content</a></div> <h1> <a href="/">Site Name - the best site</a> </h1> </header> <ul class="langSwitch"> <li class="langPl"><img src="/gfx/pl.png" alt="Polski" /></li> <li class="langEn"><a rel="nofollow" href="/en" hreflang="en" lang="en" xml

How do you build a multi-language web site?

独自空忆成欢 提交于 2019-12-17 16:23:24
问题 A friend of mine is now building a web application with J2EE and Struts, and it's going to be prepared to display pages in several languages. I was told that the best way to support a multi-language site is to use a properties file where you store all the strings of your pages, something like: welcome.english = "Welcome!" welcome.spanish = "¡Bienvenido!" ... This solution is ok, but what happens if your site displays news or something like that (a blog)? I mean, content that is not static,

Change language dynamically using androids multilanguage support?

▼魔方 西西 提交于 2019-12-17 15:57:20
问题 Is there are way to switch between different languages within an app using androids multilanguage support ( values-de folder for german and value-en folder for english)? 回答1: This is not really supported but possible by changing the Configuration object's "locale" field [Google Groups Post] Configuration c = new Configuration(getResources().getConfiguration()); c.locale = Locale.GERMAN; getResources().updateConfiguration(c, getResources().getDisplayMetrics()); Note that this alone will only

Database modeling for international and multilingual purposes

牧云@^-^@ 提交于 2019-12-17 15:03:40
问题 I need to create a large scale DB Model for a web application that will be multilingual. One doubt that I've every time I think on how to do it is how I can resolve having multiple translations for a field. A case example. The table for language levels, that administrators can edit from the backend, can have multiple items like: basic, advance, fluent, mattern... In the near future probably it will be one more type. The admin goes to the backend and add a new level, it will sort it in the