Drupal string translation

I have developed a site in English (admin and interface), but the site must be in Dutch. The Locale and i18n modules were installed.

Dutch has been added to the list of languages ​​and is set by default in admin / settings / language.

Now I am wondering how can I translate strings like date output? For example, when I print a date from the view, it still outputs the days and months in English.

In admin / settings / language / configure, I only selected the "path prefix", but I didn't get the language code in the url and links. How is this achieved?

thank

+2


source to share


1 answer


You can translate monthly names, days and more using the translation interface. Switch to:

Administration β†’ Website creation β†’ Translation interface (admin / build / translate) β†’ Search (admin / build / translation / search)

and use the search form to find the string you want to translate.

Since you have already added Dutch to your site, you can download the entire Dutch translation at http://localize.drupal.org . The site is currently in beta, so you will need to sign in with your Drupal.org credentials.



Use this link to export Dutch Drupal translation. Just make sure you select "All in one format" so that you can easily import it into your site using the Translation Interface β†’ Import

To get the language code The URL-addresses, you need to include Multilingual support for each type of content that you need to translate (admin / content / types), open the editing and selecting the desired option in the Workflow Settings β†’ Multi-Language Support .

After that, make sure you specify Dutch / English when adding or editing nodes.

+2


source







All Articles