Metadata-Version: 2.1
Name: localization-sync
Version: 0.1.0
Summary: A python script that generates localization files for iOS and Android projects from a public GoogleSheet.
Home-page: https://github.com/r-dent/LocalizationSync
Author: Roman Gille
Author-email: developer@romangille.com
License: UNKNOWN
Description: # Localization Sync
        This is a python script that downloads localization strings and CI color information from a public [Google Sheet](https://docs.google.com/spreadsheets) and generates resource files for iOS and Android projects.
        
        ![Vizualization of the workflow](Resources/workflow.jpg)
        
        ## Installation
        
            pip install localization-sync
        
        ## Prerequisites
        
        Create a Google Sheet document with sheets like [these](https://docs.google.com/spreadsheets/d/1672QPWDsxBtaX5hc5QgZhqBwLADMnPVEv7-wLB3g-ug):
        
        ![Example of a L10n table](Resources/sheet_l10n.png)
        ![Example of a colors table](Resources/sheet_colors.png)
        
        Publish the sheeet to the web by pressing __File -> Publish to the web__. Select __Whole Document__ and __Website__. This gives the script access to the public JSON API of Google Docs.
        
        Find the ID of your document by copying it from your browsers address bar.
        
        ![sheet_url.png](Resources/sheet_url.png)
        
        ## Usage
        
        Create a `data_sync.config.json` in your project and populate it with the contents of the [example config](data_sync.config.json). Replace the `sheetId` with your own. You can modify the other settings to fit the needs of your project.
        
        Then open a terminal at your project path and run `l10n_sync`. Look for your newly created resource files.
        
        You can also copy [data_sync.py](Sources/data_sync.py) to your project and then run `python3 data_sync.py` when your config file is ready.
        
        ## Example
        
        Have a look into the [Output folder](Output) for some example files generated by using the provided [configuration file](data_sync.config.json).
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Localization
Classifier: Topic :: Software Development :: Embedded Systems
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
