Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

[Request] Do not translate if string starts with " #44

Open
xeroc opened this issue Jul 29, 2015 · 1 comment
Open

[Request] Do not translate if string starts with " #44

xeroc opened this issue Jul 29, 2015 · 1 comment

Comments

@xeroc
Copy link

xeroc commented Jul 29, 2015

My page is multi-language and I use you plugin (which is great so far).
However, when prototyping parts of the page (mainly still only in english) I use constructs like those:

title: "Security and Control over Your Money" 

jekyll attempts to translate the string, but I'd like to only translate those strings that do not start with ", like

title: security.control

Would this be possible?

@kurtsson
Copy link
Owner

kurtsson commented Sep 1, 2015

Yes, just add an if-case in for strings starting with ". But Im not sure I think this is a good design since you should never have untranslated strings and it might be bad to make this easier.

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

No branches or pull requests

2 participants