Number translation with 118n module - drupal-7

I have developed a multi-lingual site with i18n module (7.x-1.13) and everything works as expected.My Drupal version is 7.34.
Recently, my client have asked not to translate the number. The website works in English and Arabic.
To be more specific, when Arabic is chosen, we do not want the numbers to be displayed in Arabic, instead we need to display the same in English. Now, each numbers are translated to Arabic when the language is chosen as Arabic, even the user input.
The default language is Arabic and I haven't installed any modules for translation of numbers.
Any help would be much appreciated.
Thanks in advance!

The main problem was with the font that I was using when Arabic is loaded. This made the English numeric digits to convert to Arabic automatically. I have now made the same font to be loaded in both the languages. This solved my problem.

Related

Changing Shaka player locale

The website I'm making has an option to switch display language between German and English. Shaka player seems to have support for localization switching, but I couldn't manage to display the player in anything other than English.
Tried using changeLocale on a new shaka.ui.Localization instance, but it doesn't appear to have an effect on the player.
Would appreciate any example of switching between locales.
From the GitHub repo's issues,
ui.getControls().getLocalization().changeLocale(['de']) will switch to a German locale.

I18n Internalization in react for english and hindi

I am building a single page application using React. I want my website to be available in both the hindi and english language. So, for that I think I have to use react-intl. Okay but how can I make this work? I read a few tutorial but I did not find any good solution for Hindi. Please help me in my research on how to use i18n for English to Hindi.
It seems that Hindi language uses Devanagari script which is written from left to right (LTR), so translating your site to Hindi isn't different from translating it to any other language (e.g. Frech, Spanish, Czech).
All you need to do is add react-intl components to your code, create a message catalog with messages, translate it into Hindi and load it into your app.
If you have a more specific problem, please update your question or post another one.
Also, I'm an author of lingui i18n library which you might consider if you're at the beginning of your project. It's successor to react-intl and very similar in usage. There's a tutorial, but I could help you with any problems you might have with a Hindi.

Is there any way to translate the language from English to Arabic in AngularJS?

I have an application built in AngularJS. I need to change the language from English to Arabic.
Is there any plugin to do this automatically that can change all my views from English to Arabic.
Plugins are not available to translate from one language to another. Angular's internationalization (i18n) tools help make your app available in multiple languages.
https://angular-translate.github.io/

angular translate - use two language at same time

I have created multilingual site using angular-translate. Its working awesome but i have new requirement according to which i want 2 language on same page at a time.
Actually my website allows user to create custom forms in any language.So suppose that user currently viewing site in Arabic but if his creating form for lets say English then using
$translate.use('en')
will change whole site and form builder in english but i want only form builder to be in english but container which was in arabic will also get translated in english.
anybody have any idea about how to achieve this?
This approach would help you use translation functionality how ever you want. you just need to change it as follows.
<strong>{{'hello' | language: 'en'}}{{'world' | language: 'ch'}}</strong>

How to enable Arabic in Silverlight

Can I know how to enable arabic in Silverlight?? I have a requirement in which user can select whether they would like to type in English or Arabic and based on their selection the language must change. Can anyone pls help me out?? Thank you.
Silverlight 4 (The latest version at this time) now supports Bi-Directional text, Right-to-Left and complex scripts such as Arabic, Hebrew and 31 new languages.
http://www.silverlight.net/getstarted/silverlight-4/
Silverlight 4 supports Arabic, RTL and bi-directional text. You do not need to do anything within your application to support this! To enter Arabic text, your user simply needs to select an Arabic keyboard. Instructions for selecting keyboards are given here:
How to change keyboard language in Windows

Resources