magento: how to set different languages between front-end and back-end - magento

I built one magento site with some language packs. now I want to show English at front-end pages, at the same time, show Spanish at admin page. is it possible ?

For admin english,
Set the default config scope,
system > config > (general) general > local options > locale > english (US)
be sure to set that at the "default config" scope, and log out and then in to be taken into account

Related

joomla login module redirection not working in other secondary languages

Hi I have set up a site that uses
Joomla 3.2.3
php 5.5.10
I am running 2 languages on the site.
I have set up a menu item that displays the login module each language and a login module for each language
I have set up a in each module a different 'Login Redirection Page' to point to the appropriate language home page.
The default English languages works correctly and once a user logs in, it takes them to the specific page, but for some reason i can't work out, the other language (spanish) Redirect won't go to any other page that I set in the 'Login Redirection Page' settings - it simply takes them to the default english login page, and ignores the settings?
I have double checked all the menu and modules settings for both and they are the same expect for the language settings.
Any ideas?
Have you tried setting the 'Automatic Language Change' to Yes?
Plug ins -> System - Language Filter -> Basic options
I had the same problem. Try changing Plugin Manager -> System - Language Filter -> Automatic Language Change -> NO
The problem is that Joomla automatically changes to the default site language, and then goes to the default login page.

admin translation on frontend

Is it possible in Magento to translate messages meant to be displayed in the admin in the admin locale language from a frontend controller (instead of in the frontend locale language)? The Magento translator seems quite hardcoded to only allow one set of translations at a time.
It's a bit random to have order status messages be translated to the frontend users locale language instead of to the admin default locale language. Although, the translation system for status messages isn't very dynamic anyway, with status message texts not being able to be translated dynamically when switching admin locale language.

The backend with a language and frontend with another language

I have my site with Magento, and I want to keep management (backend) in the German language, and in my frontend that language must be Spanish.
Can I do that? How?
The locale for the frontend is set at
System -> Configuration -> General -> Locale Options
While the locale for the backend can be changed from the Interface Locale drop down at the bottom of every admin console page.

Change Magento CMS Home page

I am using this groupon clone from contus
I am try to change the cms home page .Which as what i have observed can be found in
System > Configuration > Web > Default Pages
I tried changing the CMS Home Page .i chose the template that i made in
CMS > Pages
I am expecting the template to be loaded .and ugh after several tries, clearing the cache and even changing the Default Web URL into the templates URL Key .it didn't work
any suggestions?
Here's a screenshot of the default cms_home_page
I tried editing the config.xml in the
app\code\core\Mage\Cms\etc
I changed the default > web > default > cms_home_page node into the coming-soon URL key .Still didn't work
I can access the http://127.0.0.1/mg/coming-soon/ page and the http://127.0.0.1/mg/home/ page as well .I just wonder, why the settings i applied in the admin (and can also be seen in the db) doesn't work.
you can simply go to system >> configuration >> and click on the web which is left in your window under general.
than click on Default Pages and set CMS Home Page
Second thing, You have to do "enable" this page and you can do it from
cms >> pages and click on the page which you have selected, than set status >> enable
The unique identifier in the CMS > Manage Content section just needs to be a unique string in the context of a store view. You should NOT use the frontname of a core module there (e.g. "cms"). Change your url key to something unique, and head to System > Configuration. Select Web. As long as the Default Web URL is set to cms, cms/index, or cms/index/index you should be able to simply choose the desired CMS page from the Default Web URL dropdown. Make sure you check other configuration scope settings (dropdown at top left) in case there is a rude setting set at a lower level.
FYI, what you "make" in the Manage Pages section are routes with content as opposed to "templates" (in Magento parlance). Templates are PHTML files under app/design.
Just to answer to those who reach this page;
If you see this behaviour you should check the store switcher in your top left. Choose your store and check the config for it.
Probably it's not using the default settings and overriding the global scope.

Magento: Change default language

I've searched for this for hours again, so here I am!
How do you change the default (English) language to any other language in Magento? Basically, I want all my customer from store B to arrive at the French version of the site first by default, not the English.
Thanks a lot
In the admin menu System > Configuration, the first tab shown should be General and it includes a Locale section. That is where you set a store's language. You can choose which store it applies to with the scope selection in the top left of the page.
Set those variables in .htaccess
SetEnv MAGE_RUN_CODE "here put store_code from BO for french version"
SetEnv MAGE_RUN_TYPE "store" <- this leave as it is
Go to Magento Admin
System > Configuration
Current Configuration Section from left side bar
Go to general block and then go to Local Options and select your default language and click on save config and clear your cache from admin then got to frontend and refresh the page you will see the default language is set to your desired language.
Login to backend then go to System > Manager Stores > Click "Main Website Store" and chose default Store you need.
You can use apache mod_rewrite for this purpose, check following rule :
## Redirect according to user's language
## you can put .htaccess file
RewriteEngine on
# French Users
RewriteCond %{HTTP:Accept-Language} ^fr [NC]
RewriteRule ^$ /fr/ [L,R=301]
# Default Page
RewriteRule ^$ /en/main-page [L,R=301]
Log into your admin System => Manage Stores => Click on the "default store view" in your case English Store (Change the sort order to (1) as this will become additional store view.)
And after click on the French store view Keep the sort order as zero (0) as this will be your default language.
Log in to magento admin => System -> Configuration. Then from the top left in "Current Configuration Scope:" select your stores and then click on Configuration of left side in GENERAL section click on General then click on "Locale Options" then select French from the dropdown in Locale section.
download language files and place them into the right folders (app > local)
Login to admin panel and go to System > Manage stores
Create a new store view
Login to admin panel and go to System > Configuration > General
and select each store view from “Current Configuration Scope” drop down menu at the upper left corner of the window.
Set the corresponding locale for each store view
Clear the cache (System – Cache Management)
In order to set the default language for magento, you must go to System > Manage Stores, click on the “Store Name” and set the default language from there
Beware of the content of your language pack. It must have been tested that it works properly.
Reference: Magento language pack installation
Tried everything that's written here except for changing .htaccess...
Nothing worked but I found another way:
System->Manage Stores
click on Main Website Store
change Default Store View to French
refresh the cache if it's not disabled yet
May be it's version dependent - mine is 1.7.0.2
I am not sure about his code but you could give a try for below code:
Add a language pack In Magento store view:
Creating a store view for a language is not too hard in magento follow the steps given below and you are done with it.
Step 1: Download the language pack you need and then unpack it to your Magento install folder.
It copies two folders: one goes to app\design\frontend\default\default\locale
and the other one to app\locale.
Step 2: Go to System > Configuration in your admin. On the left top corner in Current Configuration Scope dropdown box, you can see Default Config, and Main Store in English store view.
Step 3: Now let’s go and add the French store view. Under the dropdown box, there’s Manage Stores link or you can directly go to System > Manage Stores. Click the Create Store View link on top right, and type these in store view information form:
Store: Main Store
Name: French
Code: french
Status: Enabled
Sort order: 0
Step 4: Save, go back to System > Configuration. In Current Configuration Scope dropdown box, you now see there’s French store view. Click that link.
On Locale options tab on the left, uncheck the ‘use website’ checkbox then change the locale to French (France). Save.
Now you can have your website in French.
If no store is specifically set in MAGE_RUN_CODE, Magento displays the store with the lowest sort_order. Log in to your Magento Admin and go to System -> Manage Stores. Here, select each store and change the Sort Order field until the store you want to use as your default has the lowest sort order
System -> Configuration
1) if you have multiple store then:
Left upper corner (below menu-links) you will see "Current Configuration Scope:" select store from there.
after that continue to step 2
2) if single store then:
left side "General" -> "Default Country"
if "Default Country" not selectable then please uncheck "Use Website" right site to country box
Thanks,
Chirag Nandaniya
Please use this link and installed this extension in your magento store http://www.magentocommerce.com/magento-connect/magento-community-modules-french-france-language-pack.html
and setup/create store view for french
Go to admin->system->configuration and do following steps
and from admin side just setup Country option to France by clicking on General Tab located in left side and also set default Currency by clicking on Currency Setup located in left side
but be careful to select Store view from first before applied above things from Current Configuration Scope: located on left side panel.
let me know if you have still facing any problem :)
The correct method is:
Go to System > Manage Stores. Click your main store name (for example Main Website Store) and in Default Store View field select French (I guess you have already created French as a Store View Name).

Resources