1

Topic: Translation

Hi guys,

I would like to translate the pages of indicia in drupal. But which pages I have to translate? The information online is not really helping me to get there. I added some files in the lang folders with the nl tag but I don't see anything changing on the site. My drupal is on dutch now. For example, what do I have to change so that everything of the dynamic form 1 is translated? If ready, I can share the files with you with a dutch translation?


Dieter

2

Re: Translation

Hi Dieter
First point - rather than mnhnl_dynamic_form_1, you might prefer to use the dynamic_sample_occurrence form - it is more or less the same but without some code specific to Luxembourg.
There is a language file client_helpers/prebuilt_forms/lang/dynamic_sample_occurrence.en.php so you could copy this to create a dynamic_sample_occurrence.nl.php file. The code uses Drupal's language object to get the logged in user's language so I would expect this file to be picked up OK.
One tip - you can add "&notranslate" to the page URL to see the untranslated versions of all the terms, so you know what needs to go in the file. The English version of the file will not be complete since we don't need to list terms which are in the code in English so need no translation.
Best wishes
John

John van Breda
Biodiverse IT