perscrew / phpConstantToCsv

Ruby script to replace PHP define function into a plain csv file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phpConstantToCsv

A simple Ruby script to replace PHP "define function" into a plain csv file. I used this script in order to facilitate the translation for functional team.

##Use Simply run the phpConstantToCsv script and pass it the files arguments.

 ruby phpConstantToCsv.rb constant_file_1.php constant_file_2.php

##Output You will obtain as many csv files you set in the input parameters :

  • constant_file_1.php.csv
  • constant_file_2.php.csv

About

Ruby script to replace PHP define function into a plain csv file


Languages

Language:Ruby 93.3%Language:PHP 6.7%