Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start index of parameterized substitution of strings #48

Open
renatoch opened this issue May 22, 2015 · 5 comments
Open

Start index of parameterized substitution of strings #48

renatoch opened this issue May 22, 2015 · 5 comments
Assignees

Comments

@renatoch
Copy link

I'm using the parameterized substitution of strings, using {1}, {2}.

The project uses same resource files for angular and ASP.NET C#, and it starts the index on {0}. This will cause confusion and inconsistencies between resources used on both sides.

Is there a way to make angular-localization use 0 based substitutions?

@doshprompt
Copy link
Owner

@renatoch will it work if I provide a configParam you can override (default to 0 if you do nothing in order to preserve existing functionality)

@renatoch
Copy link
Author

Yeah, it sure would, that would be perfect!
Em 23/05/2015 01:54, "Rahul Doshi" notifications@github.com escreveu:

@renatoch https://github.com/renatoch will it work if I provide a
configParam you can override (default to 0 if you do nothing in order to
preserve existing functionality)


Reply to this email directly or view it on GitHub
#48 (comment)
.

@doshprompt doshprompt self-assigned this May 25, 2015
@thiagoalves
Copy link

@doshprompt We need this urgently in our project, so we are willing to fix it and send a pull request, unless you are already looking into it. Anyway, I will implement a workaround for today and wait for your reply.

Thanks

@doshprompt
Copy link
Owner

@thiagoalves I am happy to take a look at your PR once you have it. I was thinking about the issue but have not implemented it yet, sorry :(

@thiagoalves
Copy link

@doshprompt No problem. I will come back with it in a few days.

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

No branches or pull requests

3 participants