Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

First l10n string import: fr, it #997

Merged
merged 4 commits into from
May 22, 2019
Merged

Conversation

devinreams
Copy link
Contributor

@devinreams devinreams commented May 21, 2019

Closes #440

This runs the import script from here:
mozilla-mobile/ios-l10n-scripts#51

And the strings over here:
https://github.com/mozilla-l10n/lockwiseios-l10n/

Into here! 🇫🇷

@devinreams
Copy link
Contributor Author

And here's the full output from the script:

Setting up new virtualenv...
Running virtualenv with interpreter /usr/local/bin/python2.7
New python executable in /Users/dreams/src/lockbox-ios/import-locales-env/bin/python2.7
Also creating executable in /Users/dreams/src/lockbox-ios/import-locales-env/bin/python
Installing setuptools, pip, wheel...done.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting lxml==4.1.1
  Using cached https://files.pythonhosted.org/packages/77/14/af8d655e1060d04c90e13d0cbd37a78ef5d0cda67914e8c54f79de11fcd0/lxml-4.1.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Installing collected packages: lxml
Successfully installed lxml-4.1.1
Creating firefoxios-l10n Git repo
Cloning into 'lockwiseios-l10n'...
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 16 (delta 5), reused 11 (delta 2), pack-reused 0
Unpacking objects: 100% (16/16), done.
Updating /Users/dreams/src/lockbox-ios/lockwiseios-l10n/de/lockwise-ios.xliff
Updating /Users/dreams/src/lockbox-ios/lockwiseios-l10n/es/lockwise-ios.xliff
Updating /Users/dreams/src/lockbox-ios/lockwiseios-l10n/fr/lockwise-ios.xliff
Updating /Users/dreams/src/lockbox-ios/lockwiseios-l10n/it/lockwise-ios.xliff
Exporting lockwiseios-l10n/it/lockwise-ios.xliff
  Writing CredentialProvider/InfoPlist.strings to CredentialProvider/it.lproj/InfoPlist.strings
  Writing CredentialProvider/Localizable.strings to CredentialProvider/it.lproj/Localizable.strings
  Writing CredentialProvider/Storyboard/Base.lproj/CredentialWelcome.storyboard to CredentialProvider/Storyboard//it.lproj/CredentialWelcome.strings
  Writing lockbox-ios/Common/Resources/InfoPlist.strings to lockbox-ios/Common/Resources/it.lproj/InfoPlist.strings
  Writing lockbox-ios/Common/Resources/Strings/Localizable.strings to lockbox-ios/Common/Resources/Strings/it.lproj/Localizable.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AccountSetting.storyboard to lockbox-ios/Storyboard//it.lproj/AccountSetting.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AutofillOnboarding.storyboard to lockbox-ios/Storyboard//it.lproj/AutofillOnboarding.strings
  Writing lockbox-ios/Storyboard/Base.lproj/ItemDetail.storyboard to lockbox-ios/Storyboard//it.lproj/ItemDetail.strings
  Writing lockbox-ios/Storyboard/Base.lproj/OnboardingConfirmation.storyboard to lockbox-ios/Storyboard//it.lproj/OnboardingConfirmation.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SettingList.storyboard to lockbox-ios/Storyboard//it.lproj/SettingList.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SetupAutofill.storyboard to lockbox-ios/Storyboard//it.lproj/SetupAutofill.strings
  Writing lockbox-ios/Storyboard/Base.lproj/Welcome.storyboard to lockbox-ios/Storyboard//it.lproj/Welcome.strings
  Writing Shared/Storyboard/Base.lproj/ItemList.storyboard to Shared/Storyboard//it.lproj/ItemList.strings
  Writing Shared/Storyboard/Base.lproj/SpinnerAlert.xib to Shared/Storyboard//it.lproj/SpinnerAlert.strings
Exporting lockwiseios-l10n/de/lockwise-ios.xliff
  Writing CredentialProvider/InfoPlist.strings to CredentialProvider/de.lproj/InfoPlist.strings
  Writing CredentialProvider/Localizable.strings to CredentialProvider/de.lproj/Localizable.strings
  Writing CredentialProvider/Storyboard/Base.lproj/CredentialWelcome.storyboard to CredentialProvider/Storyboard//de.lproj/CredentialWelcome.strings
  Writing lockbox-ios/Common/Resources/InfoPlist.strings to lockbox-ios/Common/Resources/de.lproj/InfoPlist.strings
  Writing lockbox-ios/Common/Resources/Strings/Localizable.strings to lockbox-ios/Common/Resources/Strings/de.lproj/Localizable.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AccountSetting.storyboard to lockbox-ios/Storyboard//de.lproj/AccountSetting.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AutofillOnboarding.storyboard to lockbox-ios/Storyboard//de.lproj/AutofillOnboarding.strings
  Writing lockbox-ios/Storyboard/Base.lproj/ItemDetail.storyboard to lockbox-ios/Storyboard//de.lproj/ItemDetail.strings
  Writing lockbox-ios/Storyboard/Base.lproj/OnboardingConfirmation.storyboard to lockbox-ios/Storyboard//de.lproj/OnboardingConfirmation.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SettingList.storyboard to lockbox-ios/Storyboard//de.lproj/SettingList.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SetupAutofill.storyboard to lockbox-ios/Storyboard//de.lproj/SetupAutofill.strings
  Writing lockbox-ios/Storyboard/Base.lproj/Welcome.storyboard to lockbox-ios/Storyboard//de.lproj/Welcome.strings
  Writing Shared/Storyboard/Base.lproj/ItemList.storyboard to Shared/Storyboard//de.lproj/ItemList.strings
  Writing Shared/Storyboard/Base.lproj/SpinnerAlert.xib to Shared/Storyboard//de.lproj/SpinnerAlert.strings
Exporting lockwiseios-l10n/fr/lockwise-ios.xliff
  Writing CredentialProvider/InfoPlist.strings to CredentialProvider/fr.lproj/InfoPlist.strings
  Writing CredentialProvider/Localizable.strings to CredentialProvider/fr.lproj/Localizable.strings
  Writing CredentialProvider/Storyboard/Base.lproj/CredentialWelcome.storyboard to CredentialProvider/Storyboard//fr.lproj/CredentialWelcome.strings
  Writing lockbox-ios/Common/Resources/InfoPlist.strings to lockbox-ios/Common/Resources/fr.lproj/InfoPlist.strings
  Writing lockbox-ios/Common/Resources/Strings/Localizable.strings to lockbox-ios/Common/Resources/Strings/fr.lproj/Localizable.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AccountSetting.storyboard to lockbox-ios/Storyboard//fr.lproj/AccountSetting.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AutofillOnboarding.storyboard to lockbox-ios/Storyboard//fr.lproj/AutofillOnboarding.strings
  Writing lockbox-ios/Storyboard/Base.lproj/ItemDetail.storyboard to lockbox-ios/Storyboard//fr.lproj/ItemDetail.strings
  Writing lockbox-ios/Storyboard/Base.lproj/OnboardingConfirmation.storyboard to lockbox-ios/Storyboard//fr.lproj/OnboardingConfirmation.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SettingList.storyboard to lockbox-ios/Storyboard//fr.lproj/SettingList.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SetupAutofill.storyboard to lockbox-ios/Storyboard//fr.lproj/SetupAutofill.strings
  Writing lockbox-ios/Storyboard/Base.lproj/Welcome.storyboard to lockbox-ios/Storyboard//fr.lproj/Welcome.strings
  Writing Shared/Storyboard/Base.lproj/ItemList.storyboard to Shared/Storyboard//fr.lproj/ItemList.strings
  Writing Shared/Storyboard/Base.lproj/SpinnerAlert.xib to Shared/Storyboard//fr.lproj/SpinnerAlert.strings
Exporting lockwiseios-l10n/es/lockwise-ios.xliff
  Writing CredentialProvider/InfoPlist.strings to CredentialProvider/es.lproj/InfoPlist.strings
  Writing CredentialProvider/Localizable.strings to CredentialProvider/es.lproj/Localizable.strings
  Writing CredentialProvider/Storyboard/Base.lproj/CredentialWelcome.storyboard to CredentialProvider/Storyboard//es.lproj/CredentialWelcome.strings
  Writing lockbox-ios/Common/Resources/InfoPlist.strings to lockbox-ios/Common/Resources/es.lproj/InfoPlist.strings
  Writing lockbox-ios/Common/Resources/Strings/Localizable.strings to lockbox-ios/Common/Resources/Strings/es.lproj/Localizable.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AccountSetting.storyboard to lockbox-ios/Storyboard//es.lproj/AccountSetting.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AutofillOnboarding.storyboard to lockbox-ios/Storyboard//es.lproj/AutofillOnboarding.strings
  Writing lockbox-ios/Storyboard/Base.lproj/ItemDetail.storyboard to lockbox-ios/Storyboard//es.lproj/ItemDetail.strings
  Writing lockbox-ios/Storyboard/Base.lproj/OnboardingConfirmation.storyboard to lockbox-ios/Storyboard//es.lproj/OnboardingConfirmation.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SettingList.storyboard to lockbox-ios/Storyboard//es.lproj/SettingList.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SetupAutofill.storyboard to lockbox-ios/Storyboard//es.lproj/SetupAutofill.strings
  Writing lockbox-ios/Storyboard/Base.lproj/Welcome.storyboard to lockbox-ios/Storyboard//es.lproj/Welcome.strings
  Writing Shared/Storyboard/Base.lproj/ItemList.storyboard to Shared/Storyboard//es.lproj/ItemList.strings
  Writing Shared/Storyboard/Base.lproj/SpinnerAlert.xib to Shared/Storyboard//es.lproj/SpinnerAlert.strings
Exporting lockwiseios-l10n/en-US/lockwise-ios.xliff
  Writing CredentialProvider/InfoPlist.strings to CredentialProvider/en.lproj/InfoPlist.strings
  Writing CredentialProvider/Localizable.strings to CredentialProvider/en.lproj/Localizable.strings
  Writing CredentialProvider/Storyboard/Base.lproj/CredentialWelcome.storyboard to CredentialProvider/Storyboard//en.lproj/CredentialWelcome.strings
  Writing lockbox-ios/Common/Resources/InfoPlist.strings to lockbox-ios/Common/Resources/en.lproj/InfoPlist.strings
  Writing lockbox-ios/Common/Resources/Strings/Localizable.strings to lockbox-ios/Common/Resources/Strings/en.lproj/Localizable.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AccountSetting.storyboard to lockbox-ios/Storyboard//en.lproj/AccountSetting.strings
  Writing lockbox-ios/Storyboard/Base.lproj/AutofillOnboarding.storyboard to lockbox-ios/Storyboard//en.lproj/AutofillOnboarding.strings
  Writing lockbox-ios/Storyboard/Base.lproj/ItemDetail.storyboard to lockbox-ios/Storyboard//en.lproj/ItemDetail.strings
  Writing lockbox-ios/Storyboard/Base.lproj/OnboardingConfirmation.storyboard to lockbox-ios/Storyboard//en.lproj/OnboardingConfirmation.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SettingList.storyboard to lockbox-ios/Storyboard//en.lproj/SettingList.strings
  Writing lockbox-ios/Storyboard/Base.lproj/SetupAutofill.storyboard to lockbox-ios/Storyboard//en.lproj/SetupAutofill.strings
  Writing lockbox-ios/Storyboard/Base.lproj/Welcome.storyboard to lockbox-ios/Storyboard//en.lproj/Welcome.strings
  Writing Shared/Storyboard/Base.lproj/ItemList.storyboard to Shared/Storyboard//en.lproj/ItemList.strings
  Writing Shared/Storyboard/Base.lproj/SpinnerAlert.xib to Shared/Storyboard//en.lproj/SpinnerAlert.strings
Can't find target  ShareTo
found  CredentialProvider
['CredentialProvider/de.lproj/InfoPlist.strings', 'CredentialProvider/en.lproj/Localizable.strings', 'CredentialProvider/en.lproj/InfoPlist.strings', 'CredentialProvider/es.lproj/InfoPlist.strings', 'CredentialProvider/it.lproj/Localizable.strings', 'CredentialProvider/it.lproj/InfoPlist.strings', 'CredentialProvider/Storyboard/en.lproj/CredentialWelcome.strings', 'CredentialProvider/Storyboard/it.lproj/CredentialWelcome.strings', 'CredentialProvider/Storyboard/fr.lproj/CredentialWelcome.strings', 'CredentialProvider/fr.lproj/Localizable.strings', 'CredentialProvider/fr.lproj/InfoPlist.strings']
CredentialProvider (de): CredentialProvider/de.lproj/InfoPlist.strings
Creating variant group InfoPlist.strings under None
CredentialProvider (en): CredentialProvider/en.lproj/Localizable.strings
Creating variant group Localizable.strings under None
CredentialProvider (en): CredentialProvider/en.lproj/InfoPlist.strings
Found variant group InfoPlist.strings
CredentialProvider (es): CredentialProvider/es.lproj/InfoPlist.strings
Found variant group InfoPlist.strings
CredentialProvider (it): CredentialProvider/it.lproj/Localizable.strings
Found variant group Localizable.strings
CredentialProvider (it): CredentialProvider/it.lproj/InfoPlist.strings
Found variant group InfoPlist.strings
CredentialProvider (en): CredentialProvider/Storyboard/en.lproj/CredentialWelcome.strings
Found a storyboard variant group for CredentialWelcome.storyboard
CredentialProvider (it): CredentialProvider/Storyboard/it.lproj/CredentialWelcome.strings
Found a storyboard variant group for CredentialWelcome.storyboard
CredentialProvider (fr): CredentialProvider/Storyboard/fr.lproj/CredentialWelcome.strings
Found a storyboard variant group for CredentialWelcome.storyboard
CredentialProvider (fr): CredentialProvider/fr.lproj/Localizable.strings
Found variant group Localizable.strings
CredentialProvider (fr): CredentialProvider/fr.lproj/InfoPlist.strings
Found variant group InfoPlist.strings
found  Firefox Lockbox
['lockbox-ios/Storyboard/en.lproj/ItemDetail.strings', 'lockbox-ios/Storyboard/en.lproj/Welcome.strings', 'lockbox-ios/Storyboard/en.lproj/SetupAutofill.strings', 'lockbox-ios/Storyboard/en.lproj/OnboardingConfirmation.strings', 'lockbox-ios/Storyboard/en.lproj/AutofillOnboarding.strings', 'lockbox-ios/Storyboard/en.lproj/AccountSetting.strings', 'lockbox-ios/Storyboard/en.lproj/SettingList.strings', 'lockbox-ios/Storyboard/it.lproj/ItemDetail.strings', 'lockbox-ios/Storyboard/it.lproj/Welcome.strings', 'lockbox-ios/Storyboard/it.lproj/SetupAutofill.strings', 'lockbox-ios/Storyboard/it.lproj/OnboardingConfirmation.strings', 'lockbox-ios/Storyboard/it.lproj/AutofillOnboarding.strings', 'lockbox-ios/Storyboard/it.lproj/AccountSetting.strings', 'lockbox-ios/Storyboard/it.lproj/SettingList.strings', 'lockbox-ios/Storyboard/fr.lproj/ItemDetail.strings', 'lockbox-ios/Storyboard/fr.lproj/Welcome.strings', 'lockbox-ios/Storyboard/fr.lproj/SetupAutofill.strings', 'lockbox-ios/Storyboard/fr.lproj/OnboardingConfirmation.strings', 'lockbox-ios/Storyboard/fr.lproj/AutofillOnboarding.strings', 'lockbox-ios/Storyboard/fr.lproj/AccountSetting.strings', 'lockbox-ios/Storyboard/fr.lproj/SettingList.strings', 'lockbox-ios/Common/Resources/en.lproj/InfoPlist.strings', 'lockbox-ios/Common/Resources/Strings/en.lproj/Localizable.strings', 'lockbox-ios/Common/Resources/Strings/it.lproj/Localizable.strings', 'lockbox-ios/Common/Resources/Strings/fr.lproj/Localizable.strings', 'lockbox-ios/Common/Resources/it.lproj/InfoPlist.strings', 'lockbox-ios/Common/Resources/fr.lproj/InfoPlist.strings']
Firefox Lockbox (en): lockbox-ios/Storyboard/en.lproj/ItemDetail.strings
Found a storyboard variant group for ItemDetail.storyboard
Firefox Lockbox (en): lockbox-ios/Storyboard/en.lproj/Welcome.strings
Found a storyboard variant group for Welcome.storyboard
Firefox Lockbox (en): lockbox-ios/Storyboard/en.lproj/SetupAutofill.strings
Found a storyboard variant group for SetupAutofill.storyboard
Firefox Lockbox (en): lockbox-ios/Storyboard/en.lproj/OnboardingConfirmation.strings
Found a storyboard variant group for OnboardingConfirmation.storyboard
Firefox Lockbox (en): lockbox-ios/Storyboard/en.lproj/AutofillOnboarding.strings
Found a storyboard variant group for AutofillOnboarding.storyboard
Firefox Lockbox (en): lockbox-ios/Storyboard/en.lproj/AccountSetting.strings
Found a storyboard variant group for AccountSetting.storyboard
Firefox Lockbox (en): lockbox-ios/Storyboard/en.lproj/SettingList.strings
Found a storyboard variant group for SettingList.storyboard
Firefox Lockbox (it): lockbox-ios/Storyboard/it.lproj/ItemDetail.strings
Found a storyboard variant group for ItemDetail.storyboard
Firefox Lockbox (it): lockbox-ios/Storyboard/it.lproj/Welcome.strings
Found a storyboard variant group for Welcome.storyboard
Firefox Lockbox (it): lockbox-ios/Storyboard/it.lproj/SetupAutofill.strings
Found a storyboard variant group for SetupAutofill.storyboard
Firefox Lockbox (it): lockbox-ios/Storyboard/it.lproj/OnboardingConfirmation.strings
Found a storyboard variant group for OnboardingConfirmation.storyboard
Firefox Lockbox (it): lockbox-ios/Storyboard/it.lproj/AutofillOnboarding.strings
Found a storyboard variant group for AutofillOnboarding.storyboard
Firefox Lockbox (it): lockbox-ios/Storyboard/it.lproj/AccountSetting.strings
Found a storyboard variant group for AccountSetting.storyboard
Firefox Lockbox (it): lockbox-ios/Storyboard/it.lproj/SettingList.strings
Found a storyboard variant group for SettingList.storyboard
Firefox Lockbox (fr): lockbox-ios/Storyboard/fr.lproj/ItemDetail.strings
Found a storyboard variant group for ItemDetail.storyboard
Firefox Lockbox (fr): lockbox-ios/Storyboard/fr.lproj/Welcome.strings
Found a storyboard variant group for Welcome.storyboard
Firefox Lockbox (fr): lockbox-ios/Storyboard/fr.lproj/SetupAutofill.strings
Found a storyboard variant group for SetupAutofill.storyboard
Firefox Lockbox (fr): lockbox-ios/Storyboard/fr.lproj/OnboardingConfirmation.strings
Found a storyboard variant group for OnboardingConfirmation.storyboard
Firefox Lockbox (fr): lockbox-ios/Storyboard/fr.lproj/AutofillOnboarding.strings
Found a storyboard variant group for AutofillOnboarding.storyboard
Firefox Lockbox (fr): lockbox-ios/Storyboard/fr.lproj/AccountSetting.strings
Found a storyboard variant group for AccountSetting.storyboard
Firefox Lockbox (fr): lockbox-ios/Storyboard/fr.lproj/SettingList.strings
Found a storyboard variant group for SettingList.storyboard
Firefox Lockbox (en): lockbox-ios/Common/Resources/en.lproj/InfoPlist.strings
Creating variant group InfoPlist.strings under None
Firefox Lockbox (en): lockbox-ios/Common/Resources/Strings/en.lproj/Localizable.strings
Creating variant group Localizable.strings under None
Firefox Lockbox (it): lockbox-ios/Common/Resources/Strings/it.lproj/Localizable.strings
Found variant group Localizable.strings
Firefox Lockbox (fr): lockbox-ios/Common/Resources/Strings/fr.lproj/Localizable.strings
Found variant group Localizable.strings
Firefox Lockbox (it): lockbox-ios/Common/Resources/it.lproj/InfoPlist.strings
Found variant group InfoPlist.strings
Firefox Lockbox (fr): lockbox-ios/Common/Resources/fr.lproj/InfoPlist.strings
Found variant group InfoPlist.strings
Can't find target  Client
Can't find target  NotificationService
Can't find target  Shared
Can't find target  Today

@devinreams devinreams self-assigned this May 21, 2019
@devinreams
Copy link
Contributor Author

OK! @sashei @joeyg: we have strings loaded in!

I think I got this importing right but can you please double check the project and the way the files (infoplist, localizable strings) are included, anything I may have overlooked?

Here's French!

Screen Shot 2019-05-21 at 10 50 02 AM
Screen Shot 2019-05-21 at 10 50 37 AM
Screen Shot 2019-05-21 at 10 50 44 AM

@devinreams devinreams changed the title First l10n import attempt First l10n string import: fr, it May 21, 2019
@devinreams devinreams requested review from joeyg and Pike May 21, 2019 16:53
Copy link
Contributor

@sashei sashei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🇫🇷 😍

Copy link
Contributor

@Pike Pike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't actually try to build or test the docs, but I guess you wrote down what worked for you, so r=me.

@devinreams devinreams merged commit 556b461 into master May 22, 2019
@devinreams devinreams deleted the first-l10n-import-attempt branch May 22, 2019 17:09
@devinreams
Copy link
Contributor Author

Will get this incorporated in builds now (in case localizers want to test) and re-run tomorrow (✨ repeatability ✨) when the de and es strings are presumably done and ready for import. ❤️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement localization infrastructure to translate strings using Pontoon
3 participants