Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kim Andersen 1447 posts 2196 karma points MVP
    Nov 14, 2014 @ 11:05
    Kim Andersen
    0

    Folder names are created with the culture of the editor

    Hi there

    I've installed this great package on a Umbraco 7.1.8, and it works great.

    But now I've run into some problems with the naming of the folders. The names are created in the language that the user are set up to use.

    So in this solution we have editors with a danish interface and we have editors with the english interface. All of them write in danish, as it's a all-danish site.

    This means that when an editor with the english interface creates a news item in eg. October, a folder called "October" is created. When another editor, using the danish interface, creates a news item in October a folder named "oktober" (the danish version of October) is created. This means that there are two date folders per month in this case. It would be even more if we had some editors using the German og Swedish interface eg.

    Is there any way this can be setup or worked around to only create folder in english, or even better only create folders in danish, no matter wich culture the logged in user has?

    /Kim A

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 14, 2014 @ 11:09
    Jan Skovgaard
    0

    Hi mate

    Don't know if there is a setting for it but otherwise you could try to fork the source code and fix it to statically just use the preferred culture I guess https://bitbucket.org/anthonydotnet/udatefoldersy/src

    Greet the guys'n'gals at the office from me, allright? :)

    /Jan

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 14, 2014 @ 12:34
    Anthony Dang
    0

    There's not really a good work around for this. It's going to require diving into the code. 

    The only thing that I would advise is that everyone should be using the same culture.

     

  • Kim Andersen 1447 posts 2196 karma points MVP
    Nov 17, 2014 @ 22:42
    Kim Andersen
    0

    Thanks for your answer guys. I think we'll look at the source and always go with the same culture if possible.

    However I did came to think that we instead could go with just naming the folders with the number of the month like 08, 09, 10 etc. I guess that this will be the same in all languages, so this might be our solution if the "source code tweak" doesn't work as planned :)

    /Kim A

Please Sign in or register to post replies

Write your reply to:

Draft