alas, I get "1425.title" because there is no table "TMAFindReplaceWindowController.strings" in the English resources.
It's not the unique missing table.
while the en.lproj one contains only 64 files.
arguments.strings
TMAAboutPanel.strings
TMAAccessibilityDescriptionInspector.strings
TMAAlignDistributeInspector.strings
TMAArrowInspector.strings
TMAAudioBrowserView.strings
TMACalloutInspector.strings
TMACellBorderGraphicInspectorPaneView.strings
TMACellBorderInspector.strings
TMACellBorderPresetPopover.strings
TMACellControlInspector.strings
TMACellCurrencyInspector.strings
TMACellDecimalPercentInspector.strings
TMACellFormatInspector.strings
TMACellFractionInspector.strings
TMACellMixedPopupInspector.strings
TMACellNumeralSystemInspector.strings
TMACellPopupInspector.strings
TMACellScientificInspector.strings
TMACellTextInspector.strings
TMACellTextStyleInspector.strings
TMAChart2YAxisSwitcherInspectorPane.strings
TMAChart3DLineAreaFormatInspectorPane.strings
TMAChartAxisTickmarksInspectorPane.strings
TMAChartBackgroundFillInspectorPane.strings
TMAChartBarColGapInspectorPane.strings
TMAChartBorderStrokeInspectorPane.strings
TMAChartBubbleOptionsInspectorPane.strings
TMAChartCategoryAxisGridlinesInspectorPane.strings
TMAChartCategoryAxisOptionsInspectorPane.strings
TMAChartDisclosureInspectorPaneView.strings
TMAChartErrorBarInspectorPane.strings
TMAChartErrorBarStyleDisclosureInspectorPane.strings
TMAChartFillInspector.strings
TMAChartFillSetInspectorPane.strings
TMAChartFontInspectorPane.strings
TMAChartInteractiveChartOptionsInspectorPane.strings
TMAChartLegendArrangeGeometryInspectorPane.strings
TMAChartLegendFillInspectorPane.strings
TMAChartMultiDataSetNameInspectorPane.strings
TMAChartMultiDataSlider.strings
TMAChartOptionsInspectorPane.strings
TMAChartPieDataPointNamesInspectorPane.strings
TMAChartPieExplosionInspectorPane.strings
TMAChartPieLabelDistanceFromCenterInspectorPane.strings
TMAChartSeriesDataInspectorPane.strings
TMAChartSeriesDataSymbolInspectorPane.strings
TMAChartSeriesFillDisclosureInspectorPane.strings
TMAChartSeriesFillInspectorPane.strings
TMAChartSeriesLineConnectionInspectorPane.strings
TMAChartSeriesOptionsInspectorPane.strings
TMAChartSeriesPlotOnAxisInspectorPane.strings
TMAChartSeriesShowSeriesAsInspectorPane.strings
TMAChartSeriesTypeInspectorPane.strings
TMAChartSeriesValueLabelsAxisInspectorPane.strings
TMAChartSeriesValueLabelsInspectorPane.strings
TMAChartSeriesValueLabelsPositionInspectorPane.strings
TMAChartShadowKindInspectorPane.strings
TMAChartSharedValueLabelsAccuracyInspectorPane.strings
TMAChartSharedValueLabelsCurrencyInspectorPane.strings
TMAChartSharedValueLabelsDataFormatInspectorPane.strings
TMAChartSharedValueLabelsDecimalsInspectorPane.strings
TMAChartSharedValueLabelsInspectorPane.strings
TMAChartSharedValueLabelsPrefixSuffixInspectorPane.strings
TMAChartSharedValueLabelsScientificInspectorPane.strings
TMAChartShowSeriesNamesInspectorPane.strings
TMAChartTextInspector.strings
TMAChartTrendlineInspectorPane.strings
TMAChartTypeInspectorPane.strings
TMAChartValueAxis3DLabelPositionInspectorPane.strings
TMAChartValueAxisGridlinesInspectorPane.strings
TMAChartValueAxisMinorGridlinesInspectorPane.strings
TMAChartValueAxisOptionsInspectorPane.strings
TMAChartValueAxisScaleDisclosureInspectorPane.strings
TMAChartValueAxisScaleInspectorPane.strings
TMAChartValueAxisShowMinimumValueInspectorPane.strings
TMAConditionalStyleActionPane.strings
TMAConditionalStyleAddRulePane.strings
TMAConditionalStyleCellStylePane.strings
TMAConditionalStyleMixedStateInspector.strings
TMAConditionalStyleRuleHeaderPane.strings
TMAConditionalStyleToggle.strings
TMAConnectionLineInspector.strings
TMACornerRadiusInspector.strings
TMADateTimeInspector.strings
TMADurationInspector-Style.strings
TMADurationInspector-UnitsControl.strings
TMADurationInspector-UnitsType.strings
TMAEmptyStylePickerInspector.strings
TMAExportAdvancedOptionsView.strings
TMAExportPanel.strings
TMAExportPDFAdvancedOptionsView.strings
TMAExportProgressPanel.strings
TMAFillAdvancedGradientInspectorPaneController.strings
TMAFillGradientInspectorPaneController.strings
TMAFillImageInspectorPaneController.strings
TMAFillInspector.strings
TMAFillTintedImageInspectorPaneController.strings
TMAFindReplaceWindowController.strings
TMAFormulaPredicateView.strings
TMAFunctionBrowserPane.strings
TMAFunctionsInspectorLabelPane.strings
TMAGroupUngroupInspector.strings
TMAImageAdjustmentsPanel.strings
TMAImageEditInspector.strings
TMAInsertProgressPanel.strings
TMAIntersectInspector.strings
TMALineEndPointInspector.strings
TMALockUnlockInspector.strings
TMAMediaBrowserView.strings
TMAMediaFileInfoInspector.strings
TMAMoveToiCloudSheet.strings
TMAMovieControlsInspector.strings
TMAMovieLoopInspector.strings
TMAMoviePosterTimeInspector.strings
TMAMovieStartStopTimeInspector.strings
TMAMovieVolumeInspector.strings
TMAOpacityInspector.strings
TMAOriginalSizeInspector.strings
TMAPasswordChangeView.strings
TMAPasswordChangeWindow.strings
TMAPasswordInputView.strings
TMAPasswordInputWindow.strings
TMAPasswordRemoveView.strings
TMAPasswordRemoveWindow.strings
TMAPolygonSidesInspector.strings
TMAPositionInspector.strings
TMAPredicatePicker.strings
TMAReflectionInspector.strings
TMARotateInspector.strings
TMARulerPreferencesPane.strings
TMAShadowCurvedInspectorPaneController.strings
TMAShadowDropInspectorPaneController.strings
TMAShadowInspector.strings
TMAShareProgressWindow.strings
TMASimpleShadowInspectorPaneController.strings
TMASizeInspector.strings
TMAStarInspector.strings
TMAStrokeBasicInspectorPaneController.strings
TMAStrokeFrameInspectorPaneController.strings
TMAStrokeInspector.strings
TMAStrokeInspectorControls.strings
TMATableAlternatingRowColorInspector.strings
TMATableFontInspector.strings
TMATableGridOptionsInspector.strings
TMATableHeaderFooterInspector.strings
TMATableOutlineStrokeInspector.strings
TMATemplateManagerWindow.strings
TMATemplateManagerWindowTitleBarView.strings
TMATemplatePreferencesSheet.strings
TMATextAlignmentInspector.strings
TMATextBorderDisclosureInspectorPaneView.strings
TMATextColumnsDisclosureInspectorPaneView.strings
TMATextColumnsInspector.strings
TMATextFollowingParagraphInspector.strings
TMATextHyphenationAndLigatureInspector.strings
TMATextIndentsInspector.strings
TMATextInsetInspector.strings
TMATextListDisclosureInspectorPaneView.strings
TMATextPresetCellViews.strings
TMATextPresets.strings
TMATextPresetsEditor.strings
TMATextSpacingDisclosureInspectorPaneView.strings
TMATextSpacingInspector.strings
TMATextStyleDeletePanel.strings
TMATextTabStopsInspector.strings
TMATopLevelDisclosureInspectorPaneView.strings
TMAWarningsPanel.strings
TMAWarningsTableView.strings
TMAZOrderInspector.strings
TPMacAnnotationBar.strings
TPMacDocumentInspector.strings
TPMacExportEPubAdvancedOptionsView.strings
TPMacExportEPubOptionsAccessoryView.strings
TPMacExportTextOptionsAccessoryView.strings
TPMacExportWordAdvancedOptionsView.strings
TPMacFootnoteInspector.strings
TPMacHeaderFooterHUD.strings
TPMacObjectPlacementInspector.strings
TPMacPageNumberPopoverViewController.strings
TPMacTOCInspector.strings
TPNSDocumentWindow.strings
TSDMacAnnotationPopover.strings
TSDMacIAHUDWindow.strings
TSDMacImageHUDWindow.strings
TSDMacPathHUDWindow.strings
TSDMacReplacePresetConfirmationSheetController.strings
TSDMacSetAnnotationAuthorWindow.strings
TSTMacCellErrorWarningView.strings
TSTMacFormulaCellEditorWindow.strings
TSTMacRowColumnStepperHUDViewController.strings
TSTMacStickyBitViewController.strings
TSTTableContextMenus.strings
TSWPMacEndNoteCitationPopoverView.strings
TSWPMacHyperlink.strings
TSWPMacSpellingContextMenu.strings
MainMenu.nib
TMAChart3DSceneInspectorPane.nib
TMAChartAxisLabelsAngleInspectorPane.nib
TMAChartCategoryAxisLabelsInspectorPane.nib
TMAImageAdjustmentsInspector.nib
TMAPassphraseUI.nib
TMAShadowContactInspectorPaneController.nib
TMATableResizeToFitPane.nib
TMATableRowColumnSizePane.nib
TMATemplatePreferencesView.nib
TMATextAdvancedInspector.nib
TMATextBorderInspector.nib
TMATextInspector.nib
TMATextListInspector.nib
TMATextPaginationAndBreaksInspector.nib
TMATextPresetsInspector.nib
TPEndNoteSearchWindow.nib
TPMacGeneralPreferencesPane.nib
TPMacRulerPreferencesPane.nib
TPMacSectionInspector.nib
TPMacTextWrapInspector.nib
TSCHMacChartPresetSheet.nib
TSWPMacDateTimeField.nib
TSWPMacRubyTextViewController.nib
and, even more surprising, two files available in en.lproj are missing in other lproj folders :
start-mac_firstlaunch_welcome.png
email@hidden
One more time, Apple apply the bad old scheme : do what I say, not what I do.
The result of this broken rule is that using a handler to localize an iPlay '13-14 string is not doable.
The simple code passed above must be replaced by :
tell me
if (do shell script "defaults read 'Apple Global Domain' AppleLocale") starts with "en" then
set title_loc to "Find & Replace"
else
set title_loc to localized string "1425.title" from table "TMAFindReplaceWindowController" in bundle path to application "Pages"
end if
end tell
I discovered that while building a script filling the gap due to the removal of the merge from Numbers feature.
Yvan KOENIG (VALLAURIS, France) mardi 4 mars 2014 18:57:49