Closed (works as designed)
Project:
Translation template extractor
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2008 at 09:53 UTC
Updated:
8 Dec 2009 at 13:15 UTC
I'm translating VIEWS and OG and I cannot get all translatable strings into a POT file... If I use the extract tab of POTX I'm also not able to export splitted template files for submodules. I would only get one big file that doesn't fit in here :-(.
Any way to solve this issues? Maybe we are rebuilding the views t() logic in potx to get the strings out!? You may remember the discussion #262879: Exports: t'ify view templates by default that have no solution yet... but we nevertheless need to translate now.
Comments
Comment #1
hass commentedSeems also not possible to extract view strings via POTX UI.
Comment #2
gábor hojtsyExamples of missing stuff? What are the patterns of what's missing? Is this a duplicate of #322084: White screen in some cases, when submodules exists? I don't get what your problem is.
Comment #3
hass commentedNo. We have "views" with translatable strings, but this views doesn't t()'ify their strings. As this is the case POTX cannot find them today and cannot extract them... and we cannot translate them... so we end up with many many many untranslated strings if this views are displayed.
Comment #4
gábor hojtsyWell, if we talk about strings in views, those are user provided data and are not subject to translation via potx / Drupal's built-in textgroup.
Comment #5
hass commented"user provided" data? If OG delivers ~10 views with translatable strings I think we should be able to translate them out of the box. I don't think about additional user defined views and their strings created later... I'm only talking about the views build into the modules - out of the box.
Comment #6
hass commentedI think you also have OG running on your box... take a look to path "group". "My Unread", "My Recent" and so on ... nothing is translated and German OG translation is at 97% except all build-in view strings... :-(
Comment #7
gábor hojtsyWell, as long as it is a "default view" (as-in shipped and used on the live site in source code form from a source file and not from the database), t() can be used in that source code file. Just get OG to ship those files with strings wrapped in t().... Or, wait, that might not work depending on how Views caches those views. Experiment :)
Comment #8
gábor hojtsyAs discussed above, not an issue in potx.