translations and adaptation to server php version