Announcement

  •  » Extensions
  •  » Technical question about plugin translations cleanup

#1 2014-12-18 21:36:51

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Technical question about plugin translations cleanup

Hi,

I splitted the original help file of my main plugin (UAM) into few new files because it was to huge. The original one has been deleted from svn repository.

How does this result in the translation tool? Should the original obsolete help file been automatically deleted?

If not, I should set up an obsolete files cleaning in the next version of the plugin, right? Therefore, i've no idea on how to do that according to all translations set for the plugin.

Thanks for your advices ;-)

Offline

 

#2 2014-12-18 21:38:59

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Technical question about plugin translations cleanup

Files won't be deleted, only obsolete lines in existing files will be

Important: nothing will be automatically migrated, you have to manually split the files in each languages or the translators will have to start from scratch

Offline

 

#3 2014-12-18 21:49:14

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: Technical question about plugin translations cleanup

mistic100 wrote:

Files won't be deleted, only obsolete lines in existing files will be

So what about the old unused file? Upgrading to the next plugin release will not delete them.

mistic100 wrote:

Important: nothing will be automatically migrated, you have to manually split the files in each languages or the translators will have to start from scratch

Yes, I know and I did the manual split for all actual available translations for my plugin (a hard and long work ^^ ).

Offline

 

#4 2014-12-18 21:51:01

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Technical question about plugin translations cleanup

Eric wrote:

mistic100 wrote:

Files won't be deleted, only obsolete lines in existing files will be

So what about the old unused file? Upgrading to the next plugin release will not delete them.

your question was about Lexiglot: it doesn't delete files

but as always obsolete files are detected by PEM when creating a release (as long as you deleted them in SVN/Git) and Piwigo read obsolete.list when upgrading

Offline

 

#5 2014-12-18 22:04:55

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: Technical question about plugin translations cleanup

Yes, sorry. It was a mixted question for Lexiglot and PEM ;-)

About PEM : For the files used in translations, I think it's not accurate to use an obsolete.list file. I'll see what happened at next release creation.

Thanks for your usefull (as ever) help!

Offline

 
  •  » Extensions
  •  » Technical question about plugin translations cleanup

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact