Skip to main content
Penyaskito Blog

Main navigation

  • Home
Language switcher
  • English
  • Español
User account menu
  • Log in

Last articles

By penyaskito , 5 August, 2012

OOP & PSR-0-ify gettext .po file parsing and generation

One year ago, a refactoring at the Gettext .po file parsing and generation started.

Finally, that issue has been fixed. I were working with Sutharsan, ClemensTolboom, GaborHojtsy and Attiks on this issue at the Drupal Developer Days sprint, and after the sprint we finally (well, mostly Gábor...) pushed forward to its completion.

The new design is something like this:

Gettext design

(Diagram by Gábor Hojtsy)

I'm very grateful for their help on being started on contributing to the D8MI Initiative, and hopefully I'll be working on more things into the D8MI sprint. Any help is welcome!

Tags

  • D8MI
  • Drupal Core
  • Drupal
  • contributing
  • commit
  • multilingual
By penyaskito , 14 June, 2012
Image
Table with sprinters at Barcelona DDD2012

Drupal D8MI Sprint: Day 3

So third day of the Sprint, with Peter, Clemens and I working on Gettext. It would be the last day for Clemens, so we expected to do great advances :-)

Day started great, and I don't get stuck like previous days with obvious things. We kept with the refactoring and finally core/includes/gettext.inc could be removed. w00t!

Thanks to Gábor's explanation we understood what was expected for the batch API part of this, so we are able of advancing on that, but maybe on another issue context. This one became too big and splitting it could be of help. Peter wrote some more integration tests, and I finished fixing plurals handling and cleaning up some methods. Thanks Clemens for your patience, and hope that we can advance without you in the next days!

Tags

  • Drupal
  • D8MI
  • contributing
  • sprint
  • Barcelona
  • initiatives
  • Drupal Core
  • i18n
  • patches
By penyaskito , 14 June, 2012
Image
An empty freezer with a paper says 404 Not Found

Drupal D8MI Sprint: Day 2

Ok, so I failed on Tuesday on updating the blog, but a quick summary.

Clemens and I kept working on the Gettext component on D8MI sandbox. I got a little lost and we had an Skype call in the morning were he explained me what he was expecting. We did some clean up and kept working on it. Some commits got into the sandbox, but lot of works still remaining. Fortunately, in the afternoon Attiks joined us, so more hands (and brain) on code!

Tags

  • Drupal
  • D8MI
  • contributing
  • sprint
  • Barcelona
  • initiatives
  • Drupal Core
  • i18n
  • patches

Pagination

  • First page
  • Previous page
  • …
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Next page
  • Last page

Monthly archive

  • October 2026 (1)
  • July 2026 (3)
  • April 2026 (4)
  • August 2025 (1)
  • April 2025 (1)
  • July 2023 (1)
  • December 2021 (1)
  • May 2021 (2)
  • April 2021 (1)
  • September 2014 (1)
  • November 2012 (1)
  • September 2012 (2)
  • August 2012 (3)
  • June 2012 (6)

Recent content

Quarterly Contributions summary for 2026 Q3
22 hours ago
Canvas Tips&Tricks: Declaring images in SDCs
2 months 2 weeks ago
Canvas Internals - JSON data types in different databases: It works on my machine!
3 months ago

Recent comments

Created project/canvas…
2 months 1 week ago
Thanks for the article.
Is…
2 months 1 week ago
That's a great idea! I would…
5 months 2 weeks ago

Blogs I follow

  • Mateu Aguiló "e0ipso"
  • Gábor Hojtsy
  • Pedro Cambra
  • Can It Be All So Simple
  • Maria Arias de Reyna "Délawen"
  • Matt Glaman
  • Daniel Wehner
  • Jacob Rockowitz
  • Wim Leers
  • Dries Buytaert
  • arcturus
  • Drupal Core AI digest
  • Drupal CMS AI digest
  • Drupal Canvas AI digest
  • Drupal AI AI digest
  • Drupal Patterns AI digest
  • Trisha Gee
  • Très Bien Tech, by _nod
  • Moshe Weitzman
  • Drupal core change records
  • Ed Zitron's Where's Your Ed At
  • Sebastian Bergmann (phpunit.expert)
  • PHP Reads
  • mandclu
  • Marissa Epstein
  • WordPress Core
  • David Bushell
  • Tag1
Syndicate

Footer

  • Drupal.org
  • LinkedIn
  • GitHub
  • Mastodon
  • Twitter
Powered by Drupal

Free 🇵🇸