Support » Requests and Feedback » why are signs like ← and → included in translation

  • Is there a good reason for keeping signs like ← and → in strings that are translated. They are SIGNS and they do not need translation. Their separation from text will enable easier manipulation with them with less, in my mind, cost.

Viewing 15 replies - 1 through 15 (of 21 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Which theme or plugin is this regarding?
    Can you link to a page with the issue?

    It does make sense to provide textual identification of items that otherwise rely only on sensory information to be understood.

    Look for “←” and “→” in:


    I typed ← and →.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    I can’t see your website

    I am talking about original WP themes. (I do not know where links from third message has gone). Just look at .pot files in any WP theme.

    esmi

    (@esmi)

    Forum Moderator

    Signs can, and sometimes do, need translating when moving from one language to another. There are also issues of positioning in, for example, right to left languages. If you have an issue with a specific theme, please post in that theme’s dedicated sub-forum via its page in http://wordpress.org/themes/

    Ye it is very different message:
    Next post ←
    and
    → tsop txeN.
    I do not have problems with anything, I just ask question. Is there a good reason for this. Because there are many arrows in text and as I see there will be more (new theme 14). It will be good thing that they are defined in one place and used without translation. Because I do not treat anybody as idiot, I ask my self what reason made creators of WP to use this method. You did not provide answer. In real world signs are signs because they are not language, they do not need translation.

    Is there a good reason for this.

    Because someone might need to do it like that. Really, that’s going to be the reason behind it. If someone needed to translate these and it wasn’t available they’d be on here pretty quick asking why the developers left out the functionality that they need. There’s always two sides to every argument, and decisions like that aren’t (normally) made without a lot of thought going into the process.

    If you don’t want it translated in your own theme then it’s easy – just don’t translate that part of the text. Instead of:

    echo __('Next post ←')

    use:

    echo __('Next post').' ←';

    Easy. 🙂

    Thanks for trying to explain to me, whatever you trying to explain, but that is not answer to my very simple question.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Could you rephrase your question?

    It is very simple, like I said, sign are signs because they do not need translation. If you see arrow sign (or whatever) on airport you do not translate that sign, you just know what it means, in NY, in Tokio, everywere. If you want to change that signs (arrows) to something else in WP, eg. icons, you can do it like he done it and then you lose translation because in translation enters whole string. So you must change every translation. Other method is to filter every string that exit translation and search for signs that you want to change. I think that this is too much work for something that in the first place never have to enter translation proces. So, if there is a good reason.

    esmi

    (@esmi)

    Forum Moderator

    As catacaustic said:

    Because someone might need to do it like that

    sign are signs because they do not need translation.

    Incorrect.

    Sign DIRECTION needs translation, especially if you switch from English (left to right) to Hebrew (right to left) and the arrows need to point the other way.

    esmi

    (@esmi)

    Forum Moderator

    Which is the point I made above. 🙂 Generally speaking, it is far better to incorporate more into the translatable strings than less.

    I did not want to start discussion with this question because this question is kindoff strategic decision. When I post question I expected that (eventually) someone from WP team will cut&paste something from their strategy (or whatever) material. I do not showoff, trying to be smart or trying to make anybody else stupid. I am only interested in this question because of my work and impact that might have on it.
    I appreciate your posts but even if you are right that do me no good. You just guessing, like me.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘why are signs like ← and → included in translation’ is closed to new replies.