Jump to:

23478 Posts in 18950 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Translatable Files?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 765 Views
  • ChrisBryer
    Avatar
    Community Member
    95 Posts

    Translatable Files? Link to this post

    I am trying to make the File class translatable so that i can translate the name of images (not the URL/Filename, but the more readable 'Title' of the image). adding the following line to _config.php does set up the DB schema and creates a File_translationgroups table however the Files & Assets section of the CMS does not change, and popups do not provide any way of entering in translations.

    Object::add_extension('File', 'Translatable');

    the other problem is that using an english locale, i cant enter special characters like ö into folder names.

    I'd appreciate any suggestions,

    thanks alot,
    -Chris

  • ChrisBryer
    Avatar
    Community Member
    95 Posts

    Re: Translatable Files? Link to this post

    bump
    just curious if anyone has any thoughts,
    -chris

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: Translatable Files? Link to this post

    rebump… because I have no ideas but the interest for this feature to work. Could you please post an enhancement ticket in Trac?

  • ChrisBryer
    Avatar
    Community Member
    95 Posts

    Re: Translatable Files? Link to this post

    entered enhancement ticket in track:

    http://open.silverstripe.org/ticket/4483

    I know Ingo started a patch for CTF's with Translatable DataObjects as well as modelAdmin, and i have a hunch that this solution may be related.

    765 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.