I develop a application and submit it on iTunes. and i also did localization for this application for German language. but in German market it showing Language : English. but i want to show both language English and German. like attach sample is showing :
Thx
Mitesh
see your localization string name change it to localizable.strings and then whatever your key put in your whatever language file.
Related
My requirement: I want to add one more language say Spanish in footer section of language drop down list on Electronic UK storefront. Once we select the Spanish language our website content should change to Spanish Language.
I have read the hybris wiki related to Internationalization and Localization but I could not find any optimal solution.
Please help me in this to achieve the above functionality.
Open hmc or backoffice. Open your current base store, navigate to languages and add spanish to the list.
Notice, that there will be no data for the language, so your homepage might look very empty.
If you want to add localizations for the cms and product content, you have to add the language to all your catalog versions. Otherwise, your language wont show up in the cmscockpit/productcockpit.
Everything that appears on your homepage as words separated by dots (e.g. "search.placeholder") is not saved in the database. Those are spring messages. They are maintained in a file in your storefront. Find them in
/mystorefront/web/webroot/WEB-INF/messages/
by the names
base_XX.properties
theme-my-theme_XX.properties
site-my-site_XX.properties
where XX is the isocode of your language (in your case es). If the file does not exist, create it. You can use the english file (e.g. base_en.properties) as a template and change the values to spanish ones. Beware, there are a LOT!
There might be more pitfalls, but those are the ones, that came to my mind.
I have one application having property file for both languages and my JSF UI is now got translated to desired language.
My problem is with the database inputs. I want a common database which will support both languages eg. French and English. But when application language changes it should change the output and input.
That means if I type some word in french by selecting French as my application language at run time it should translate it to English and save it to database and vice versa for the query output.
My project uses maven java and PrimeFaces
Thanks in advance. Waiting for solution
I need to change the language of whole project. I am using jsf. In default I used English. Now i need to convert it in Italian and Spanish.
I did it by manually writing in the property class. Just like:
and in xhtml I need to to put the property by manually.
My question is that, is there any way to convert it automatically?? I mean I just click on Italian, and it will display in italian language.
You need to create one file by language (with the correct name)
And fill every - key manually ...
Netbeans help you to display all languages in the same table.
The automaticaly option is Google trad.. it's not good solution.
I am using Google Doc viewer to show online PDF url like this: https://docs.google.com/viewer?url=www.education.gov.yk.ca/pdf/pdf-test.pdf and I am using this URL using a javascript open window action like this:
window.open(url,target='_blank','width=800,height=600,scrollbars=1');
where URL is https://docs.google.com/viewer?url=www.education.gov.yk.ca/pdf/pdf-test.pdf
My question is: Google doc viewer takes language as English by default. Can I change this language somehow so that buttons next/previous on screen appear in Dutch and not in English?
You can add the hl query parameter to specify a different locale using ISO language codes. For instance, to use Dutch you should add &hl=nl as in the following link:
https://docs.google.com/a/google.com/viewer?url=www.education.gov.yk.ca/pdf/pdf-test.pdf&hl=nl
I have a product list which store english description for each field.
How can i implement/architect multi-language feature to provide same product in french ?
Have a look at the variatons. It should help you plan your multilingual web sites.
It depends on your requirements, but a common way to do this is with language translation files ( the common extension is .po or .mo ) used by the GNU gettext project, and supported across multiple platforms. Essentially, what you store in the database is a key, and depending on the specific language you are displaying, you pull the correct value based on that key.
Using .po files also means you can use a language file editor like http://www.poedit.net/
There are a few implementations of gettext, for most platforms / languages.
Here is a reference for php:
http://php.net/manual/en/book.gettext.php
or if you're using the zend framework
http://framework.zend.com/manual/en/zend.translate.adapter.html
In general, just store the msgid, and use gettext to retreive the right value depending on the selected language.
An example:
- create a directory 'locale'
and sub directories for the 2 letter language code
locale/en
locale/fr
and create file for each page you wish to translate
locale/en/default.po
locale/fr/default.po
in the english file you create string definitions using the standard syntax
msgid "site-main-welcome"
msgstr "Hello! Welcome to our site"
in the french po file
msgid "site-main-welcome"
msgstr "Salut! bienvenue à notre website"