Trouble Translating Magento - magento

I'm developing a shopping site using Magento, but I'm since the site needs to be for spanish-speaking people, I need to translate the site into spanish. I downloaded some .csv files to make the translation but they're not working. I've even tried to make changes on the english .csv files, changing the statements to spanish but it's still not working. Any ideas of how to make this issue work?
Thanks in advance!

Make sure, that your csv files are located in selected locale (i think /app/locale/es_ES) and this locale is selected in admin for your StoreView (System -> Configuration -> General -> Locale options)
Clear cache after changing csv files

Just found it, you need to go to system > configuration > developer > translate inline, there yoou have to eneable the changes in the backend or in the front end and thats it. Its a really hard way to get it going, but it works. Any other suggestion is welcome.

Related

Where should I place a language dictionary for module-checkout for magento 2?

I am trying to translate the "Go to Checkout" of Magento 2. If I place the file in /vendor/magento/module-checkout/i18n/de_DE.csv it works. Content of de_DE.csv:
"Go to Checkout","Zur Kasse"
But this seems as a bad idea as adding/changing stuff in /vendor is bad practice at least.
I have tried to place it practically everywhere, but no luck...
You can achieve the same by overriding it in your custom theme like given in below example. More over doing the changes in the vendor/magento is not advisable.
app/design/frontend/{{Vendor}}/{{Theme}}/i18n/de_DE.csv
Once all the translations are set save the file and run the below given command in the terminal.
Clear cache (bin/magento cache:clean) and check your changes.
Hope this will make your day!.
Thanks
You can add your csv file in app/i18n/vendorname/modulename, it will get translated everywhere the site., In your case you are saying that tried with place the translated file in vendor..So you can just override that in your custom theme too..Like path app/design/frontend/VendorName/CustomModuleName/Magento_Checkout/i18n/.csv,
And run the commands like upgrade deploy compile if it is necessary..
And clean cache too..
Hope this will help.

Add a custom language which is not already available in magento

I have a magento installation and i want to add urdu language in Magento. I searched everywhere but could now find how to add and map Magento_base\app\locale\ur_PK in locale. Please someone guide me which can be the necessary setting and parameters i need to set for this. I already know how to add store view for different languages in Magento.
Problem is that i dont see Urdu language in System -> Configuration -> General -> Locale Options -> Locale . So i cant map \app\locale\ur_PK folder to language
Thanks in advance
You will need messing on library of zend , of one researched how to do in zend.
Basically you will have to create two files in xml, ur.xml and ur_PK.xml in lib/Zend/Locale/Date
In the file
/app/code/core/Mage/Core/Model/Locale/Config.php
in the Array $_allowedLocales
where is no "ur_IN" nor "ur_PK".
For this you will not be able to select Urdu in Backend.
Only "gu_IN" and "hi_IN" are available.
As a hack you can add "ur_IN" or "ur_PK" to the array.

Can't change the word on a button on Magento

I have installed a cookie bar extension via Magento Connect and it works just fine. I want now to change the text inside the that says "Close".
I have written it in the translation files, cleaned my cache and nothing happened.
I have also read this and tried to find the button on the extension's files, but I can't find it.
Anyone has more ideas of how to solve this issue or point me to a solution? Thanks in advance!
UPDATE
I am using this extension
Image of the issue:
To create translate you need to follow below steps :
Place your language package in /app/locale directory.
Now got to Admin c-panel > System > Configuration > General > Locale Options > Locale select you language pack from the Dropdown list.
you can also translate the words through Inline. Go to System > configuration > Developers > Translate Inline. After enabling this you can translate directly through UI

Joomla and JomSocial Error

I'm having problem with a client site. I'm not good with Joomla (we mostly do Wordpress), but one of my long-time clients asked me to move a site from another developer that never finished it, so I obliged. The problem is, everything is working great except for the Community page:
http://gettingripped.com/index.php/community
The only errors I'm finding are with the Facebook integration (which they told me the previous dev never finished/fixed). I'm really confused here...anyone out there have any ideas? It seems instead of showing the proper titles that Com_community_somethingElseHere is replacing everything.
Thank you guys in advance for your help!
Seems something is wrong with the en-GB.com_community.ini file.
Location: gettingripped.com/language/en-GB/en-GB.com_community.ini
I could not find the file in the above location!!!
Put this file in that folder and it will work!!!
If you can't find the file to put in the folder, create your own and place it there.. how? Well, google for this string as it is (including double quotes) "en-GB.com_community.ini" and open the first couple of results.
Then copy paste the displayed file content into your own ini file (name it en-GB.com_community.ini) and place it in your en-GB folder.
Load the page and it will show up as it should!

Magento Admin Panel Missing or Broken - See Screenshots

We were doing typical content edits and the admin panel had the regular functionality and styling.
When we finished and logged out and then in again....We got just a file tree...the links withing the tree just loop back to the original page when you click on them... There is no way to edit anything...Please Help!
Using Magento ver. 1.5.1.0
Thank you!
james
SCREEN SHOT: http://goo.gl/nhaJS
Did you enable CSS/JS minification recently? The default functionality to handle this can be dodgy if your settings aren't just right. My reasoning with this answer would be that it appears you aren't loading any CSS or JS correctly.
Try this:
SELECT * FROM core_config_data WHERE path LIKE '%merge%';
You should get two results. Try setting them to 0 if they are enabled, and then remove your /var/ folder to clear cache.
Further troubleshooting would include disabling modules if you had installed any recently. Barring that, take a gander at Firebug and look at which paths are being built to your CSS/JS files. That should give us a big clue.
Erase everything in /var/cache/ and /var/session/
Looks like you may have left the trailing slash off of your domain name in your Base URL. Go to System -> Configuration -> General -> Web -> Unsecure -> Base URL and make sure it ends with /. Repeat for Secure.
Check file permissions on the media and var directories. They need to be writable by the webserver user. You probably enabled merging of JS and CSS and apache can't write to media/css media/css_secure and/or media/js

Resources