Discussion commencée , avec 3 commentaires.
  1. Clara Llorente Traducteur en espagnol ayant un droit de relecture total (incluant ses propres traductions)

    What is the meaning of all the following:
    %e %B %Y
    %A
    M%P
    Do they need to be translated?

  2. This is some code that represents the date format. You can see the full format on this page: http://apidock.com/ruby/DateTime/strftime

    %e is Day of the month, blank-padded ( 1..31)
    %B is The full month name (January'')
    %Y Year with century (can be negative, 4 digits at least) -0001, 0000, 1995, 2009, 14292, etc.
    %A The full weekday name (
    Sunday'')
    %M Minute of the hour (00..59)
    %P Meridian indicator, lowercase (am'' orpm'')

    So in the case of %e %B %Y this would translate in English to 31 January 2015 for instance. And if you translate as the same this would translate as 31 Enero 2015 (month names, day names are already translated into Spanish).

    You can also add words for instance:

    %e de %b %Y would be 31 de Enero 2015.

    I hope that makes sense?

  3. Clara Llorente Traducteur en espagnol ayant un droit de relecture total (incluant ses propres traductions)

    But, do I have to translate them or leave them as they are?

  4. Hey Clara. You can leave them out. You don’t need to translate those (but you might in some other projects and they are a pain in the ass)

    Basically they need to be localized into Spanish. But since these are generic dates (i.e. it's used by all the websites in Spanish using that programming language) I found them already translated in Spanish on Internet: https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/es.yml


Historique

  1. %e %B %Y
    %e %B %Y
    modifié par Edouard .
    Copier dans le presse-papier
  2. %e %B %Y
    %e %B %Y
    modifié par Edouard .
    Copier dans le presse-papier
  3. %e %B %Y
    %e %B %Y

    %e %B %Y

    modifié par Edouard .
    Copier dans le presse-papier
  4. %e %B %Y
    %e %B %Y

    %e %B %Y

    modifié par Edouard .
    Copier dans le presse-papier
  5. %e %B %Y
    %e %B %Y
    modifié par Edouard .
    Copier dans le presse-papier
  6. %e %B %Y
    %e %B %Y
    modifié par Estelle .
    Copier dans le presse-papier