Magento price format showing wrong after changing language - magento

Price formatting shows wrong after changing the default language English to another language.
In my main website it outputs like Rs.1,200,000.00 but after changing the language from English to another language its outputs like Rs.1.200.000,00.
How can I fix that issue?

You can change the priceformat in this file:
lib/Zend/Locale/Data/[lang].xml
You can search for:
<numbers>
<symbols>
<decimal>.</decimal>
<group>,</group>
</symbols>
</numbers>
Edit
changed folder name local to locale

Related

Magento: change link from cart

I have Magento 1.7 installed, I have this theme called ves_gift, at the end of the Checkout (before clicking "checkout" actually) I have the terms of agreement:
The checkbox contains a link connected to the "privacy terms".
The point is that is a wrong/broken link, and I need to change its href, how do I fix it?
Also the word "Aaccetto" should be with one A only, not double. "Accetto" is the right word. Where is the translation file for that?
You need to find the template where the HTML contents of the checkbox. Then you can modify as per your wish.
Try installing Magento-Debug from magentocommerce, and find the template being used.
If you want to translate, then use the CSV file for translation in your theme, as per your language rather than hard-coding in Phtml files.
Remmeber : only Html strings echoed with $this->__('MYSAMPLETEXT'); can only be translated. So, in the CSV file you could do
MYSAMPLETEXT,MYTRANSLATEDTEXT
and then magento will translate the string for you, as simple as that.
file path:-
app\design\frontend\default\your-theme\template\checkout\onepage\agreements.phtml
if its work vote for me, and not let me know...
Thanks
Ravi

Is it possible to change text directly in the code

I would like to know if there is a way to change text in the code instead of using the admin panel? I have Filezilla installed and can access my site/files from there.
If I use the inspect element in any browser, I can see an HTML structure, but as I have understood there is no HTML document in Magento, right? So where do I go if I want to make a change to a text element on my site and I don't want to use the admin panel?
Most of the text elements are handled by Magento's language translation system.
Quite often, you don't have to mess around hacking templates, just simply add a line to the translation CSV with the text string exactly as it appears, add a comma and then the new text string you want Magento to display.
For example, if you're working with US English, you can use the following file in your own custom template package as follows:
app/design/frontend/default/your_package/locale/en_US/translate.csv
Let's for example, change one of the window shade bar titles in the One Page Shopping Cart. Add a line to translate.csv as follows:
"Billing Information","Billing Address Information"
How this works, in the template the following line normally displays the title:
<?php echo $this->__('Billing Address') ?>
This code snippet $this->__('Billing Address') is a call to Magento's language translation system. It reads the translate.csv file finds Billing Address and changes it to Billing Address Information when it assembles the page html.
Lotta people out there have made changing text like this far harder than it has to be.
Hunting down the proper template, changing the text, finding the template got messed up, or trying to remember after the fact what was changed.
VS.
Changing a simple central file that contains all the text string translations... Often only by adding a new line to the file
Magento actually makes this very simple.
Thank you! So magento stores all text in .csv? or just the stuff that needs to be translated? I'm making a search for .csv via Filezilla but I only get two languages (the site is translated to multiple languages). Should I be looking somewhere else?

Magento - Attribute display admin value in front end no matter what language i pick

In the back-end when managing the attribute from the attribute set i show him what text to display for the languages i have (Romanian And russian are currently active and important)
http://prntscr.com/32rhrm
However in the frontend as in Romanian Language so in Russian language it will layout the text that i input for the Admin in the attribute set
http://prntscr.com/32rhxz
how do i fix it?! how do i make it show the corresponding text for the needed language?
Thank you !!!

Language is not changing in a component of Joomla

I am in the process of adding some lines of code to change the language automatically when the language is changed in the language selection module. One of my component in Joomla, it doesn't respect the language changing through language selection.
it's already the language.ini file is in the language directory is corresponding to this language. But the language is not changed. Is there any special joomla code to make it dynamic?
You should output text in Joomla like this:
echo JText::_("HELLO");
And you'll have to create an ini file with the language code and the name of the component/model. E.g.: en-GB.mod_modulename.ini. In this file you can define the translation for the string, like:
HELLO=Hola
When switching the language, the lines where JText is used, will display the correct language.

Magento Language File for Admin-Customer Account Page

Maybe I'm just tired...but I can't seem to locate the language file relevant to the backend Customers>Manage Customers>Individual Record
I just want to change the form label "Suffix" to "Credentials".
Can you use inline translation to do it?

Resources