Comments (4)
Hi,
I am not sure if this helps but on the test data folder there are some examples like: https://github.com/netbe/Babelish/blob/master/test/data/test_data_multiple_langs.csv
And to generate a .strings file, the command would be:
babelish csv2strings --filename test_data_multiple_langs.csv --langs English:en,German:de, French:fr,Spanish:es
The command should tell you what arguments are required.
Hope that helps!
from babelish.
It indeed helps! I would provide a more complex one, but this helps already.
It would be super if you write about this example in the README :) for other people.
Let me know if you don't have time and I can also do it and create a pull request.
Btw, for someone that lands here:
I could escape rows using the configuration:
- In the row I want to escape I write ESCAPE (for example) in the column 0
- In your .babelish file I added: state_column: 0
- In your .babelish file I added: excluded_states: ["ESCAPE"]
Then, when you run:
babelish csv2strings --filename test_data_multiple_langs.csv --langs English:en,German:de, French:fr,Spanish:es
The parser ignores every line that has ESCAPE in the first column (column=0).
from babelish.
@fabioknoedt pull requests are, indeed, very welcome :)
FYI I usually don't use the command arguments but use a config file on project, I don't know if you have seen this section (example file: https://github.com/netbe/Babelish/blob/master/.babelish.sample )
from babelish.
Done. I hope it's alright for you. If not, change anything you would like to.
Thanks man!
from babelish.
Related Issues (20)
- Fetching csv file from google drive error HOT 3
- Sign in with Google temporarily disabled for this app HOT 17
- Cannot load such file -- babelish/keys HOT 5
- Ruby version 2.7.0 warnings
- Support OneDrive HOT 1
- Android strings.xml indented with tabs instead of spaces HOT 2
- Google disabled this app HOT 4
- Can't update fastlane due to dependency lock HOT 5
- Apostrophe Issue HOT 1
- docker image not working
- Ask credentials if invalid token
- android2csv: <plurals> are removed HOT 3
- Cannot found client_secret for Android Application when creating OAuth Client Id. HOT 1
- Omit Empty translations CSV2Any HOT 2
- Error while running `babelish csv2android` because of thor dependency HOT 3
- Custom CSV2STRINGS -> cannot load such file -- babelish/keys HOT 1
- can't read text when convert japanese HOT 6
- Unexpected error: #<Faraday::ConnectionFailed wrapped=#<Net::OpenTimeout: execution expired>> HOT 1
- Problem with MacOS 12.3 Monterey HOT 2
- Google issue HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babelish.