I do some localisation in the admin interface, i. e. a previously defined CalendarDateField which is labled <Date>.
In my ArticlePage.php I have something like that:
$fields->addFieldToTab('Root.Content.Main', new CalendarDateField('Date', _t('ArticlePage.DATE', 'Date')), 'Content');
in de_DE.php I added this entry:
$lang['de_DE']['ArticlePage']['DATE'] = 'Publikationsdatum';
The result is like expected: The label changed to <Publikationsdatum>. So far so good.
My question is concerning a future update of SilverStripe. Am I right, that SS will override my personal translations when doing it that way?
Question 2: Is there a recommended way to do this to avoid this kind of thing?
Thanks for your help.