Reparsing all projects without losing translation

Psicomante - January 7, 2008 - 23:28
Project:Localization server
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Is it possible delete all files, lines and projects recorded in DB without losing database?

Something like

<?php
TRUNCATE
'l10n_community_file';
TRUNCATE 'l10n_community_line';
TRUNCATE 'l10n_community_project';
TRUNCATE 'l10n_community_release';
?>

And reparsing all projects?

#1

Psicomante - January 8, 2008 - 08:07
Status:active» fixed

http://drupal.org/node/207390#comment-682953

i close

#2

pvasili - January 8, 2008 - 10:26
Component:Documentation» Miscellaneous
Status:fixed» active (needs more info)

2 Psicomante You have forgotten about 'l10n_community_error' ;-)
I think to delete all data(4 table) from tables - a mistake. Users cannot import data under projects (while all scanning completely will not be executed).

Best - delete abandoned, olds and bads projects. http://drupal.org/node/203658.
I think, it needs to be added in opportunities Lacalization server...

#3

Psicomante - January 9, 2008 - 10:38

I'm sorry, i don't understand why users cannot import data under projects (while all scanning completely will not be executed).

#4

pvasili@drupal.org - January 9, 2008 - 13:51

At me ~1700 files. And it needs some time ;)

#5

Psicomante - January 10, 2008 - 00:13
Title:Reparsing all projects withous losing translation» Reparsing all projects without losing translation

oh ok, i understand. It's not a big problem for my site. I put down for some hours and it's ok :). Thanks a lot for the help!

#6

Gábor Hojtsy - October 15, 2008 - 23:55
Version:5.x-1.x-dev» 6.x-1.x-dev
Status:active (needs more info)» fixed

The fix in http://drupal.org/node/203658#comment-1061454 introduces the "start over" functionality for projects which lets you start over with individual projects. The API can be used to start over with all projects, I did not build an interface for that. However, since the underlying code is considered relatively stable now, I suspect this will be a good solution as-is.

#7

Anonymous (not verified) - October 30, 2008 - 00:02
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.