Hi Chris,
Yes, this is basically the situation. In Java property files, you have
a template file, say called i18n_global.properties, and then multiple
language files, e.g. i18n_global_fr.properties for French.

For instance in the template file we have ..

access_denied_message=You don't have sufficient authority to view this page.

In the French file..

access_denied_message=Vous n'etes pas autoris\u00e9 \u00e0 voir cette page.

At some point in time, the developers may remove the message
"access_denied_message" from all property files, thereby deprecating
it as in your example. However, in the Pootle database, the message is
persisted and is not deleted with an update_stores command after
syncing the source files with the main revision control system.

The symptom of this then becomes that the translated string (e.g
French) appears in the source language field (which should be English)
in the Pootle web interface.

Hope this helps to clarify the problem.

Best regards,
Jason




On Mon, Dec 26, 2011 at 6:00 AM, Chris Leonard <[email protected]> wrote:
> On Sun, Dec 25, 2011 at 2:04 PM, Jason Pickering
> <[email protected]> wrote:
>> Hi there. We have been using Pootle to translate Java property files,
>> and have a pretty stable workflow. However, sometimes the developers
>> delete keys from the template files but they do not seem to be deleted
>> from the translations files. Is there a way with update_stores to
>> delete keys which are no longer needed?
>
>
> Jason,
>
> Just seeking some clarification, because I do not routinely work with
> Java property files in Pootle.  Are you talking about the phenomenon
> that occurs when a template POT files (not sure about Java files), is
> updated by the developer in such a way that a string is eliminated
> from use, but when you update the indovidual language PO file from
> templates and look at the file, you find the deleted strings still
> present at the bottom of the file, but now prepended with a hash and a
> tilde character?
>
> Normal PO string entry:
>
> #: ../src/jarabe/util/emulator.py:40
> msgid "Sugar in a window"
> msgstr "Sugar en una ventana"
>
> Deprecated PO string entry:
>
> #~ msgid "Personal Unblocking Key (PUK):"
> #~ msgstr "Clave personal de desbloqueo (PUK):"
>
> cjl

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to