Task #2426

Define and implement String messages workflow and update guidelines

Added by Sebastien Jacquot about 5 years ago. Updated over 2 years ago.

Status:New Start date:06/28/2018
Priority:Normal Due date:
Assignee:- % Done:

20%

Category:Strings translation Spent time: -
Target version:TXM 0.8.4

Description

Define and implement String messages workflow and update guidelines.

Discuss about this massive ticket.

Some scripts of org.txm.translate automate some tasks:
- Finds duplicated messages in all core and rcp plug-ins.
- Merges them in a new key and move them to org.txm.core or org.txm.rcp.
- Finds unbounded messages and saves them to a file.
- Checks that all key defined in Messages.java class are used in the source files AND removed the unused keys
- need to check and validate other scripts

Write the workflow of scripts apply and manual task to do for each target.
Also check the guidelines to adapt them to the scripts.

TODO: check the steps above are in the guidelines
  • use the specifications of https://groupes.renater.fr/wiki/txm-info/public/nommage_symboles_externalisation for keys naming
  • move common strings that can be shared to classes TXMCoreMessages and TXMUIMessages
  • do not externalize/translate log string of level "finest" (add //$NON-NLS-1$)
  • do not externalize/translate log string of level "severe" (add //$NON-NLS-1$)
  • use NLS binding system (with {0}, {1}, etc. and stop to concatenate strings. The concatenation will lead to problems in some languages)
  • TBD

TODO: create a new issue to apply workflow to existing source code

History

#1 Updated by Sebastien Jacquot about 5 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot about 5 years ago

  • Subject changed from Uniformize the externalized string keys in all plug-ins to TXM0.8.0: Externalize string messages of all plug-ins
  • Description updated (diff)

#3 Updated by Sebastien Jacquot about 5 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot almost 5 years ago

  • Description updated (diff)

#5 Updated by Matthieu Decorde almost 5 years ago

  • % Done changed from 0 to 80

#6 Updated by Sebastien Jacquot over 4 years ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.2

#7 Updated by Sebastien Jacquot over 3 years ago

  • Subject changed from TXM0.8.0: Externalize string messages of all plug-ins to Define and implement String messages workflow and update guidelines
  • Description updated (diff)
  • % Done changed from 80 to 20

#8 Updated by Matthieu Decorde over 2 years ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.4

Also available in: Atom PDF