Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Locale Developer does not capture a lot of definitions

This discussion is related to the Locale Developer addon.
TiGRTiGR
edited November 2010 in Vanilla 2.0 - 2.8
Some definitions never get into definition collector. Such as:

All side menu links from ProfileController::AddSideMenu.
All form labels and names from applications/vanilla/views/settings/*.php

And so on...

Not sure why this happens.
Tagged:

Comments

  • Same here, my captured.php file is only 192 lines long.
  • Exactly the same problem.
  • @Todd. Just in case you have not seen that. Created an issue on github:

    https://github.com/vanillaforums/Addons/issues/issue/2
  • ToddTodd Chief Product Officer Vanilla Staff
    Ah, I think I know the problem. Thanks!
  • ToddTodd Chief Product Officer Vanilla Staff
    edited November 2010
    Okay guys, I'm not sure if there was a bug in the 1.0 release, but I've uploaded a new version with some other changes. The admin and profile stuff is captured in my version of the plugin. A few things to note though:
    1. You have to actually navigate around the site for definitions to be captured.
    2. I've separated the captured definitions into two files: captured.php and captured_admin.php. My intent here is that some people want to get the general site translated as quickly as possible.
    3. I've uploaded a baseline locale with hopefully all of the definitions in the site. It's page is here.
Sign In or Register to comment.