Skip to content

Commit

Permalink
Update README with new instructions for using the package in a project
Browse files Browse the repository at this point in the history
  • Loading branch information
HenestrosaDev committed Mar 19, 2023
1 parent f6f3d8e commit 8989648
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ The file types supported by the package are the following:
path/to/python path/to/mobile_strings_converter.py path/to/<*.xml | *.strings> -o path/to/*.<SUPPORTED FILE TYPE EXTENSION>
```

#### To generate a Spreadsheet in Google Sheets
#### To Generate a Spreadsheet in Google Sheets

Before going further into running the commands to do so, please note that you will have to generate a `service_account.json` file. You can do the following to get one:

Expand Down Expand Up @@ -195,8 +195,7 @@ path/to/python path/to/mobile_strings_converter.py path/to/<strings.xml | Locali
### To Import the Package Into Your Project

1. Run `pip install mobile-strings-converter`
2. Import the package with this line of code: `from mobile_strings_converter import <FUNCTION>`
- For example, if you were to import the `to_csv` function: `from mobile_strings_converter import to_csv`
2. Import the package and the wrapper function with this line of code: `from mobile_strings_converter import convert_strings`.

### To Open the Code

Expand Down

0 comments on commit 8989648

Please sign in to comment.