As far as I see, Turkish is not listed as a supported localization language in TD Mobile.
In fact there are two different issues with this concept.
1) I'm currently designing my pages with Turkish titles, labels etc but the default locale is English and it affects date formats etc, so I parse my dates, numbers etc myself. What I'd prefer would be being able to select Turkish as default, export language items for Turkish to the xml or csv language file, than getting a copy of it for example for English, French etc and import those files. Importing is OK, but the default locale can't be selected Turkish in this scenario.
2) If issue (1) can't be resolved, OK, then I'd design my pages in English, export language file, prepare the Turkish version of it and import. But this time, Turkish is not listed as a supported language for localization.
What would you advice for the localization of not listed languages in TD Mobile?
Multilingual in TDMobile is very powerful than other languages. Please read the TDMobileApplicantionDevelopment.PDF from TDMobile 2.3 books folder. Just excerpt from the books but i would request you to read it thorughly
Adding UI Language Choices
The TD Mobile IDE comes with a list of around 20 initial choices for UI languages. However, if you are interested in having your application support clients with localized text from a locale not among those choices, you can add to that list. To do this, bring up the TD Mobile Preferences dialog (File > Preferences on the ribbon application menu). Note the "Additional Languages" setting. Use the "+" and "--" buttons to add and remove additional language choices from your TD Mobile installation.
if you still have issues in it then we can also use i81n.js, td.js syntax for doing it dynamically too.
Good that it worked, Betül.
I was also able to add Turkish according to the instructions.
But I meet some problems with my sample project.
I have a dialog box where the user uses to sign in the application.
First, I switch to English, my main screen turns to English. Then I click the "Sign In" button. But the dialog box contents remain in Turkish. I close the dialog, switch to another page, return, and click Sign In button again. The dialog contents are in English, now, as it is supposed to be. I'm attaching the screenshots in order.
I think there's a refresh problem with the language.
How can I solve this?
Thank you for any help.
Will there be any small sample on this. I will try to change it and share it if this is not fixed with even through work around.
But the problem still exists in the real project.
In that case, I am not sure what you are doing it in Dialog box. Just try to comment the dialog box events which it may prevents to show the message.
I just have one problem. Setting the caption text for grid column gives me an error. setCaption method works for anything fine, but with the grid column, I get an error. I'm attaching the screenshot.
Do you mean Grid Layout Container or Table window Control? Can you please verify the HTML Element ID for this and use the same for setting caption. If you still have doubt, pls send the sample .html and will check this from side..
I mean the Table control (from Container ).
I'm trying to set the captions of table1_col1, table1_col2, table1_col3 and table1_col4.
The caption is "Adet" for Turkish, but it will be Piece for English, so I'm trying to make this change by : Td.Controls.get("table1_col1").setCaption("Piece"); (which is not working)
Thanks for any help,
Attached is updated sample to have direct label change and through i18n. Let me know if you have any doubt.
Who is online
Users browsing this forum: [Ccbot] and 0 guests