We use Liferay with German as the default user's settings, as described here:
http://www.liferay.com/community/wiki/-/wiki/Main/Configure+time+zones+and+locale
However, as soon as we use the blog portlet, the date of a blog entry is displayed in English format: 7/11/12 6:00 AM
Is there a way to change the default display to German format?
Thanks a lot for your help!
I cann't emulate this problem, if I switch to German (de) then the date is diplayed in german format, see screenshots:
German:
English:
and if I switch user default language to german, then I get german date format too:
Related
Followed instructions on:
https://docs.wso2.com/display/AM210/Adding+Internationalization+and+Localization
Trying this on google chrome and firefox. Changed the language to spanish, but wso2 does not pick up locale_es.json and still displays english.
Any ideas on how to fix this?
Thanks!
First, you must ensure the locale_es.json file is well-formed (the original one it is not) and has the correct translates.
Then modify 'language' parameters from 'en' to 'es' in the .pot files and the dynamic.po
I have English string like "my name is abc". I want show it in Arabic I don't want to put Arabic strings in project .I want to use on NSString or any available functions in Objective c.
If you want to localize your application you must enable it in the application and provide a Localizable.strings which contains all the translations.
you can use it like this:
someTextField.text= NSLocalizedString(#"The text you need to translate", #"comment_optional");
then in your Localizable.strings you should have:
"The text you need to translate" = "the translation you need";
reference for using NSlocalizedString (https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html)
It is not possible. You will have to put language resources inside the project to support multiple language.
I think what you want is translate English to Arabic and not localisation (correctly pointed out by Rajneesh071 as well).
If you are looking for an offline solution, you are out of luck as it is not possible. For online solution, you can make use of Google translate API. It returns JSON response which can be parsed and displayed in your application.
Refer this tutorial for more information on how to use this api in iOS.
Hope that helps!
You can use Localization in your application. You must define another string file which consist arabic language
This link you can take as a reference.
I'm using News System Extension 2.1 for my website. My TYPO3 version is 6.1.
The language key taken by tx_news is default, I would like to change the key to dk or nl or something. I changed the local language of TYPO3 using this:
config.locale_all = nl_NL
This solves the problem while displaying List of news, but when I try to display a Date Menu, it takes the default to English.
Maybe because the ViewHelpers I used for displaying List is default FLUID and the ViewHelpers used for displaying Date Menu are something else(They use translate key. Default View which comes with tx_news)
How do I change the language of tx_news to the language I desired to?
config.locale_all is basically used to change format of dates (more info on http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html)
In order to get localized labels, you need:
To download localization packages in Backend using the Language module
To set up your website with the language you want, using config.language (and possibly config.sys_language_uid if your website is going to be multilingual, then you would have to create sys_language records at root as well)
Please have a look at the frontend localization guide:
http://docs.typo3.org/typo3cms/FrontendLocalizationGuide/
I have a very simple app which only contains a PickerView, UILocalNotification, UIAlertview and less than 8 views. What I want is:
I have a main view which contains two buttons one says English and the other says French.
What in my mind is:
When the user hits English it'll take him to the Project I have right now,
However, when the User hits French it'll take him to a duplicated views that I'd simply and manually change and translate it's labels into French.
** Now my question is ** how do I translate the PickerView, LocalNotification and the AlertView? and how to connect the French button to these translations?
From what I've googled and read here in SO is that I can get the strings out and list them into Localizable.strings but I still don't know how to make my french button ask for these strings? Also, is there an easier and simpler way? any idea?
Thanks,
Kindly try this for doing localization
http://www.raywenderlich.com/2876/how-to-localize-an-iphone-app-tutorial
For buttons use something like this
[self.yourButton setTitle:NSLocalizedString(#"YOUR_KEY", #"Comment") forState:UIControlStateNormal];
Do not duplicate your views and view controller just for the sake of localization, considering that for both languages have the same layout and everything only thing that would change is the language. So add English strings and French strings to your project and use NSLocalizedString to get these values.
Note:NSLocalizedString works with device language only so if you want to change the app's language manually try this. I have used AMLocalizedString in many of my projects and they work fine.
Hi as you want to make it localized only at App basis not at device basis hence NSLocalisedString will not work you have to manage it so you have to take two different files and you have to fetch the string value on the basis of selected language. In similar manner as LocalisedString works as in localization there are multiple .strings file created for languages and it works in a way to select default language of the device and shows the text from the localised file.
Dev.Express has changed quit some units in its last update (DevExpressVCLProducts-11.1.3).
So I decided to stop using my own translation components for on the fly translation of resource strings in the dev.express components (based on the Free DevExpress Addons code and translations).
In stead I now will use there cxLocalizer component.
So at the moment I am looking for ini-files with their resource texts translated into Frech, Spanish and German.
I already found the Dutch and German translations in the answer to one of their knowledge base articles.
Can anyone help ? Maybe we can compile a list to translations in this question.