21278 Posts in 5728 Topics by 2599 members
General Questions
SilverStripe Forums » General Questions » Textcollector task and MySite problem (designed bug?)
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 537 Views |
-
Textcollector task and MySite problem (designed bug?)

6 May 2010 at 5:22am
When performing TextCollection on mysite, Silverstripe creates a mysite/lang/en_US.php file, as it should, but it also wants to overwrite the sapphire languagefile with only two entries, as it shouldn't!...
In SiteTree.php there lives a Providei18nEntities() that directs silverStripe to write the Page.SINGULAR_NAME and Page.PLURAL_NAME to the sapphire language file. I can't find any reason why they can't live in the mysite/lang/ file, but technically this isn't a bug, since it is 'by design'.
Is this a remnant of old times? Or is there a reason for this behaviour that I haven't found?
For now I override in my Page class but...
| 537 Views | ||
|
Page:
1
|
Go to Top |
