Magento Multilanguages - php

currently I have a Magento website installed on http://www.mywebsite.com, I have about 150 products in the catalog and only one language: the english.
Now I need to install another language in my website, the german. But the german store will have only about 30 products in the catalog and its domain is http://www.mywebsite.de.
I never handled a situation like this, is it long and difficult? Can anyone give me some suggestions on how to proceed?
I think this is a classical scenario for a Magento developer.

This is not difficult i think, You need to create another store from manage store section, you should have complete idea about multi-store. for different domain.
after cnfiguring two store then you need to install german language pack from connect manager. then you have to select language from configuration->general->local section of admin section. then you have to import product for two different store english and german.
thanks

download the language pack from http://www.magentocommerce.com/translations and then unpack it to your magento directory. When the system ask if the folder "app" will be replaced, click "yes to all"
Then go to System -> Configuration.
Click the Create Store View link on top right, and type these in store
Store: Main Store
Name: "Language name"
Code: any
Status: Enabled
Sort order is optional.
Here, you can also disable any store view by disabling its status.
Save, go back to System > Configuration. In Current Configuration Scope dropdown box, you now see there’s new store view. Click that link.
On Locale options tab on the left, uncheck the “use website” checkbox then change the locale to the name of the storeview you just recently created. Save.
Now you can have your website in your selected language.
You can do this step to configure other existing store views, too.
Enjoy!

Related

Finding a page for text amends in a Magento shop

I've been asked to change some text on what appears to be a static page on a Magento powered site. The page is located at /delivery.
The /delivery URL is publicly accessible. I just don't know where it lives within the system. I'm not sure whether the page lives in a file or is being brought in through the Magento framework from a database or other.
Within the Magento Admin panel there is no Pages menu in the CMS dropdown. Furthermore, there aren't any references to /delivery in the Catalogue > URL Rewrite Management.
I have root access to the server, but the site was not built by me so I need to tread carefully. As far as I can tell there are no specific rewrites for /delivery in the Apache2 configurations. I would try a grep for a specific piece of text on that page, but the whole site is around the 20GB mark, so I would want to narrow down the possibilities first.
What other avenues of investigation would a Magento or other developer exhaust to find the text before trying to get in touch with the original developers?
If it's definately not a cms page, then try running this on shell
grep -R '<frontName>delivery</frontName>' /path/to/site/app/code/*
This should hopefully find the module using that frontname. It could be however that the module has a configurable frontname, in which case you could connect to the data base and search for the value in the table;
SELECT * FROM core_config_data where value = "delivery"
Seems odd you don't have a link to cms pages in your admin, so while you're looking at the db, take a look at;
SELECT * FROM cms_page;
And confirm the delivery page isnt living there.
If the page is infact in the cms_page table, then it becomes a question of why you cant get to the tab. First port of call would be to ask the person who created your admin account to check whether your user role has access to that particular feature, and if not, get it added.

Magento : Store View Theme

I have two store view (Default English and German) with two different- different theme. I am Changing my home page English to German. Home page showing German Store Theme. From German Store i am viewing a category page, this page again showing with default English store theme. While this category is attach with both Stores (German and English)
Go to Catalog >> Manage Category
Select That Category and go to design tab.
Here check have you selected any theme.
If yes then unselect that design and save it.
I assume you have set a different domains for your store? The URL has to be different, either:
www.yourstore.com (for english) and www.youstore.com.de (for German)
www.yourstore.com/en/ and www.yourstore.com/de/
By doing this, you can set in your .htaccess file or nginx config file to select the correct store. something like this:
SetEnvIf Host www\.yourstore\.com MAGE_RUN_CODE=yourstore_en
SetEnvIf Host www\.yourstore\.com\.de MAGE_RUN_CODE=yourstore_de
If you want to run your website on 1 domain, you will need to use cookie to set the correct store. There are modules available. I can recommend this open source module:
https://github.com/aligent/Aligent_WebsiteSwitcher
Let me know if this helps
This is a problem with my browser cookie setting. On browser Opera this functionality not running proper but on fire fox This is running as required.
any one can suggest how i solved problem with on opera browser...

magento 1.8 multi language storeview with custom theme set up

I am new to Magento. I am working on Magento 1.8 and having problem while creating multi-store-views for different language's. I have done some configuration from backend, I gpt the multiple-store-view. Its converted from English to French but its not converting to Malaysia language. my steps are as follows
Note: I am using responsive custom theme.
Go to the site: http://www.magentocommerce.com/translations and download the proper language that you are looking for.
Extract and upload the files you downloaded to your Magento’s root directory. Keep in mind it will upload files to your app folder in Magento, but unless you try with a language that you already have there, it won’t overwrite anything as it’s a new language.
Once you finish uploading, go to your Magento’s Admin.
Go to: System>Manage Stores.
Click on “Create A Store View”.
Once there comes the really important thing: Put the name you want for the “Name” field, but in your “Code” field, make sure you enter your main theme followed by a “_” (underscore) and then the name of the language you want to use. Even if you used a new template that you did or purchase it would be under a main template type (default or base). Let’s say you have a new template you purchased called “MAG0873″ and its folder resides under “default”. Also, let’s say you installed Spanish language, then you would put “default_spanish” in this field.
Save it and now go to: System>Configuration.
There, select your new Store View name from the “Current Configuration Scope” item in the top left column.
Now, go to the option: General>Locale.
After that, uncheck the option “Use Website” and make sure you change “Locale” field to the language you downloaded (be specific according to the dropdown list!).
Save it after changing it and now clean your cache and refresh your FrontEnd.
Now, few important things:
If you didn’t deactivate the original Store View a new dropdown will appear in the FrontEnd to change the language and the new Store View’s Name will appear there. Once you select it, the entire template should switch its language.
It might happen it switches language but, it also shows old/default template, well, no worries, this means you need to set up your new Store View to use the proper template according to your design set up. The next steps are specific for the persons who install templates through the System>Design option as I do (which I think is the easier and faster way).
Go to System>Design
Add a new Design.
In the “Store” field, select the new Store View you recently created.
.Now select the “Custom Design” you previously installed in your system.
Save it.
Now, your store should be using the proper design in the proper Store View (language).
Ok, now it happens that the hoe page doesn’t show exactly as you had it on the original (English) language? Well, it might be happening that the Home page is set up for an specific Store View. To fix it, just go to CMS>Pages, now click on the “Home” record (assuming you are using default settings that come with Magento) and then in its options make sure you have “Store View” field set up to “All Store Views”. Save it now.
What's mistake i have done here.
Thanks in advance
If you'd like to have a well configured multi-language Magento setup you need to follow the steps below:
Setup a separate Store View for each language (System -> Manage
Stores -> Create store view);
Apply a Locale for each Store View (System -> Configuration ->
General -> Locale Options, select Desired Store View in "Current
Configuration Scope" drop-down in left-side navigation);
Make sure that you have translated all of your CMS pages to all of
your languages. You need to create a unique CMS page for each store
view;
If you'd like to use a separate theme for each language just do it in
System–>Configuration–>General under the Design tab;
In case you need to make a different set of categories in Navigation
menu for each store view, you may control it by "Include in Navigation
Menu" category attribute (Just choose a category for edit and go to
General Information tab). Change all text attributes in Catalog Products and Categories for
each store view
The more detailed guide find here:
http://sherodesigns.com/magento-tutorial/magento-tutorial-creating-multi-language-stores/

Can i customize the magento back end for admin users?

I am making an ecommerce website using magento.. I want to know if i can customize the back end as per my requirement.
Example : In the manage products page i want to create a custom page and give the admin users the option to easily add the products (Most of the values will be taken by default) and some will be chosen by user (I want to change the default UI and functionality for the admin users)
Is it possible ?
Yes, it is possible. You can develope a simple module or a simple php one-file-script and add products easily using Magento API. You can set default values to some attributes inline.
I found a blog post, I don't recommend to use that code because it looks messy, but it will give you a hint;
http://magentocoder.jigneshpatel.co.in/automated-quick-simple-product-creation-in-magento/
Also, there's a non-free module in magento connect named "Quick Product Add". It looks like what you need but I didn't test it and this is not a recommendation. You can find it here;
http://www.magentocommerce.com/magento-connect/quick-product-creation.html

menu drupal in multilingual site

I can't see any menu in the EN version of my drupal site with the following settings in my menu :
When I select french all is ok but when I select english, nothing appears (I have content in both menu indeed)
In the blocks section, I see the two menus disabled.
Thanks to help me :-)
I would suggest using menu block contrib module.
This module will allow you to treat your menus as blocks.
Create 2 blocks (1 for each menu), and in block administration page you can specify the language for each block.
As there are usually several ways to reach a goal with drupal here is a proposal for a work around:
Create two menus with no language settings.
Try to put all menu items as neutral language so they show
up in both languages. (test that)
Assign the menus as blocks to the right region.
Then use the i18n module to control the language specific
display at the block level instead of the menu or menu item level. (Note you need the i18n_block module to do that which is part of the i18n module)
If you need aditional settings for the blocks see the allready mentioned menu block module.
Also make sure you check the internationalisation documentation.
I find that having two menus is always easier for multilingual websites.
I also prefer to use different views pages for different languages so I don't run into problems. That way I can add the path to the corresponding menu easily. Whenever I have tried to combine multilingual views and menus I have faced numerous problems.
In the screenshot you included I can see you have two menus.
First of all, I find it easier to name and title the menus according to their language because it's easy to get confused otherwise i.e. Main Menu English - main_menu_en.
Secondly, your french menu probably works because it's printed by your theme which is configured to render the main menu links in the specific region. To get your English menu to work you'll have to either:
a) add the required code in your theme, or
b) remove the code for the main menu in your theme and use 2 menu blocks placed in the desired region via the block admin page. In the block settings for each block you can select which language they'll be displayed for.
As the others said, you'll need: menu_block
If you need help with adding or removing the menu from your theme, please tell us which theme you are using.
There is a Seven Steps to achieve :
Step 1: Enable all modules
Content Translation (core module)
Locale (core module)
Internationalization
Variable
optional:
Language Icons
Translation Overview
Step 2: Add a language
Go to Configuration > Regional and Language > Languages
The default language is English, and you can use the “Add Language” link to add either Predefined or custom languages.
Step 3: Detection and Selection
For this tutorial I’ve chosen to use the “URL Prefix” setting. This tells Drupal to use domain.com/es for Spanish and domain.com/de for German.
Step 4: Enable Multilingual Support for content types
Either create or edit an existing Content Type and click “Publishing Options”. Here you will see the option for enabling multilingual support. Select “Enabled, with translation. This will allow you to translate a node into multiple languages.
Step 5: Create English Content
When you create your nodes, make sure you are using the correct language, not just “Language neutral”. This is important because when you create the URL alias and Menu link title it will know which menu to put the link in.
Once you’ve created your node you should see a “translate” tab. If you click this tab you’ll be able to add a translation to this node.
Note that if you have the “Translation Overview” module installed (I highly suggest it) you’ll get a nice little window that tells you which languages you’ve added, which require priority, etc.
Step 6: Created the translated content
When you create your translation give it a translated menu link title, but give it the same url alias as the original node. Because you have multilingual support installed, it won’t give you any errors for having the same URL alias (remember, it’s putting the Spanish nodes at domain.com/es and the German nodes at domain.com/de).
Step 7: Add support for multilingual menus
Go to Structure > Menus > Main Menu. Edit the menu and enable the “Translate and Localize” option. This will switch your menu items depending on what language the user has selected site-wide.
You’ll see you have both the English menu items and the Spanish items. You can order these like you wish, but know that only the Spanish links will show up when Spanish is selected as the main menu (you’ll know because the URL will say domain.com/es).
And your final product: In front end you can see it action .
Also you can use i18n_menu_navigation_links function.

Categories