Translating PHP file from English to French and symbol '

I have a problem with ' symbol in PHP file. I am translating php from English to French. The file layout looks like below:

Orginal

'zlec_Nazwa' => 'Time limit for complete',

The translated text 


'zlec_Nazwa' => 'Date d'échéance',

The problem is ' symbol in French text between d and échéance. This symbol destroys the coding because it closes the phrase. How can I  translate a php file in trados studio so that the generated translated file is properly created?