WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Translation strings... (12 posts)

  1. Rander
    Member
    Posted 9 years ago #

    I'm trying to translate WordPress into danish, but there's a couple of things I'm not to sure of...

    I ran into the strings "Category slug," "Post slug" and "Page slug". I've seen the strings on the write-new pages, but haven't got the slightest idea what it is - searching the codex didn't help much either (it seems to be hopelessly outdated).

    I know the translation for "slug" in this context should not be "snegl," which means snail, but then what? What is it? What does it do?

    And yes, I know this it not plugin-related, but this forum did seem to be the proper place - correct me if I'm wrong...

  2. oriecat
    Member
    Posted 9 years ago #

    I think it's already in Danish? Did you see here?
    http://codex.wordpress.org/localization#Danish

  3. Rander
    Member
    Posted 9 years ago #

    *Sigh* I checked that page yesterday, and could only find some terrible, half-finished translation-file for v1.2... :-(
    Well, thanks, anyway... :-)

  4. oriecat
    Member
    Posted 9 years ago #

    That page seems to be for 1.5.1.3, so you would still want to update it to 1.5.2 for security purposes.

    Your question is still interesting tho. I know what they mean by post slug, etc, but when I think of slug alone, I am not sure what the proper definition would be. So I can understand your confusion on that. :)

    I even looked it up at m-w.com and the only thing that seemed to remotely fit (to me anyway) is an old printing term "a usually temporary type line serving to instruct or identify".

  5. moshu
    Member
    Posted 9 years ago #

    GAGE Canadian Dictionary:
    slug - a brief headline to indicate the subject of the material

  6. Rander
    Member
    Posted 9 years ago #

    Yep, I'm still doing my own translation, as the existing one is filled with HTML-entities, which causes validation of my UTF-8 encoded site to fail...

    However, his translation didn't help me much either - the string "Comment slug" he only translated half into "Kommentar-slug." "Kommentar" is the correct translation for "Comment," and though there is a danish word spelled "slug," I doubt it's appropriate here - in english it translates into "swallow"... :-)

  7. Rander
    Member
    Posted 9 years ago #

    moshu, so it's sort of like a tag-line for the post? I noticed that whatever I put in that field also becomes the permalink...

  8. moshu
    Member
    Posted 9 years ago #

    Yes. If you don't put there anything it is automatically created from the title; e.g. from my blog -
    http://www.transycan.net/blogtest/2005/06/25/moving-several-posts-from-one-blog-to-another/
    but in this post I have put in mnually a shorter "slug":
    http://www.transycan.net/blogtest/2005/07/05/integrate/

  9. Rander
    Member
    Posted 9 years ago #

    Okay, I get the idea. But how to translate it, without actually give a full explanation?
    Hmmm... I'll have to think about that... :-)

  10. Rander
    Member
    Posted 9 years ago #

    And so far I have only been anble to come up with "Kort titel", which is far from the original - it translates to "Short title"...

  11. jalenack
    Member
    Posted 9 years ago #

    If there isn't a word for it in danish yet, make one up! ;-)

    Short Title sounds alright. In wordpress, slugs are 'sanitized' so a post title of "My Beautiful Website" becomes "my-beautiful-website" ... it also takes out non-alphanumeric characters. You could work off "sanitized" or "cleaned title" or something. Good luck

  12. Rander
    Member
    Posted 9 years ago #

    Got it: I'm going with "Kort titel (for permalink)" ("Short title (for permalink)"). That ought'a do it!
    Thanks for all your help, everyone! :-)

Topic Closed

This topic has been closed to new replies.

About this Topic