Sequencing Example: Difference between revisions
Created page with "Suppose you have a '''Acme_en_US.properties''' file that is a combination of keys and values from several files and looks like: <pre> # SOURCE_FILE C:/Users/janedoe/Desktop/m..." |
No edit summary |
||
| Line 1: | Line 1: | ||
Suppose you have a '''Acme_en_US.properties''' file that is a combination of keys and values from several files | Suppose you have a '''Acme_en_US.properties''' file that is a combination of keys and values from several files. A subset of the file: | ||
<pre> | <pre> | ||
SEAR_NUMERIC_60=numeric | SEAR_NUMERIC_60=numeric | ||
SEAR_DAILY_61=daily | SEAR_DAILY_61=daily | ||
| Line 24: | Line 10: | ||
SEAR_CASES_66=cases | SEAR_CASES_66=cases | ||
SEAR_DEVIATI_67=deviation | SEAR_DEVIATI_67=deviation | ||
</pre> | </pre> | ||
| Line 63: | Line 35: | ||
If more keys are changed, | If more keys are changed, | ||
SEAR_OPTIONA_63=four changes | '''SEAR_OPTIONA_63=four changes''' | ||
SEAR_MARK_64=five for good | SEAR_MARK_64=five for good | ||
SEAR_UNABLE_65=six half | SEAR_UNABLE_65=six half | ||
| Line 80: | Line 52: | ||
The project has been 100% translated and two more prep kits are outstanding with changes. | The project has been 100% translated and two more prep kits are outstanding with changes. | ||
If '''prep kit #3''' is imported, the imported .properties | If '''prep kit #3''' is imported, the imported .properties file subset would look like (but it would be translated to the appropriate language): | ||
... | ... | ||
| Line 86: | Line 58: | ||
SEAR_DAILY_61=daily | SEAR_DAILY_61=daily | ||
SEAR_LICK_62=lick | SEAR_LICK_62=lick | ||
SEAR_OPTIONA_63=four changes | '''SEAR_OPTIONA_63=four changes''' | ||
SEAR_MARK_64=five for good | SEAR_MARK_64=five for good | ||
SEAR_UNABLE_65=six half | SEAR_UNABLE_65=six half | ||
| Line 98: | Line 70: | ||
SEAR_DAILY_61=one change | SEAR_DAILY_61=one change | ||
SEAR_LICK_62=two modification | SEAR_LICK_62=two modification | ||
SEAR_OPTIONA_63=four changes | '''SEAR_OPTIONA_63=four changes''' | ||
SEAR_MARK_64=five for good | SEAR_MARK_64=five for good | ||
SEAR_UNABLE_65=six half | SEAR_UNABLE_65=six half | ||
| Line 104: | Line 76: | ||
... | ... | ||
Note that since <code> | Note that since <code>SEAR_OPTIONA_63</code> was changed for both prep kit #2 and #3, LRM remembered the order and kept the value from prep kit #3, even though the prep kits were imported in the reverse order. | ||
Revision as of 20:35, 25 April 2019
Suppose you have a Acme_en_US.properties file that is a combination of keys and values from several files. A subset of the file:
SEAR_NUMERIC_60=numeric SEAR_DAILY_61=daily SEAR_LICK_62=lick SEAR_OPTIONA_63=optionally SEAR_MARK_64=mark SEAR_UNABLE_65=unable SEAR_CASES_66=cases SEAR_DEVIATI_67=deviation
The prep kit will be sent to translation with all the keys and values and #Acme_1_5 - FULL-FILE to indicate that this is the first prep kit and it will translate everything. When this prep kit is imported, the project will be 100% translated for all locales.
If the following lines:
SEAR_DAILY_61=daily SEAR_LICK_62=lick SEAR_OPTIONA_63=optionally
are changed to:
SEAR_DAILY_61=one change SEAR_LICK_62=two modification SEAR_OPTIONA_63=three fix
The first prep kit has been sent and imported. The second prep kit will have the changes to the 1 file, 3 keys and 6 words. The file sent to be translated will look like:
#Acme_2_5 - CHANGES-ONLY SEAR_DAILY_61=one change SEAR_LICK_62=two modification SEAR_OPTIONA_63=three fix
If more keys are changed,
SEAR_OPTIONA_63=four changes SEAR_MARK_64=five for good SEAR_UNABLE_65=six half
Note that key SEAR_OPTIONA_63 has been changed in both prep kits. Create another prep kit (this one is #3), the prep kit sent will look like:
#Acme_3_5 - CHANGES-ONLY SEAR_OPTIONA_63=four changes SEAR_MARK_64=five for good SEAR_UNABLE_65=six half
The Dashboard looks like:
The project has been 100% translated and two more prep kits are outstanding with changes.
If prep kit #3 is imported, the imported .properties file subset would look like (but it would be translated to the appropriate language):
... SEAR_NUMERIC_60=numeric SEAR_DAILY_61=daily SEAR_LICK_62=lick SEAR_OPTIONA_63=four changes SEAR_MARK_64=five for good SEAR_UNABLE_65=six half SEAR_CASES_66=cases ...
If prep kit #2 is then imported, the imported .properties files look like:
... SEAR_NUMERIC_60=numeric SEAR_DAILY_61=one change SEAR_LICK_62=two modification SEAR_OPTIONA_63=four changes SEAR_MARK_64=five for good SEAR_UNABLE_65=six half SEAR_CASES_66=cases ...
Note that since SEAR_OPTIONA_63 was changed for both prep kit #2 and #3, LRM remembered the order and kept the value from prep kit #3, even though the prep kits were imported in the reverse order.