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

localized version of image links #2

Open
boschkundendienst opened this issue Nov 22, 2019 · 4 comments
Open

localized version of image links #2

boschkundendienst opened this issue Nov 22, 2019 · 4 comments

Comments

@boschkundendienst
Copy link

Hi, thanks for that cool project. I tried it out and it works!

I am running a german version of MS Office and the image files *.jpg are exported as FolieX.jpg instead of SLIDEX.JPG. Because your produced HTML code then points hardcoded to

Sections = Sections + "<img src='Slide" & i & ".jpg'>"

the HTML will not work correctly.

I manually changed the above line to

Sections = Sections + "<img src='Folie" & i & ".jpg'>"

and it works.

It would be nice if you automatically could determine the image names based on the localization settings and make it working for any language.

Not a big deal but maybe room for improvement?

Regards

Bosch

@ignatandrei
Copy link
Owner

Interesting ... I will see how to do it...

@ignatandrei
Copy link
Owner

I have found a solution
Could you add a
Dir( " & "*.jpg"
find the first file and this will assert the name ?

@boschkundendienst
Copy link
Author

Hi, thanks for the quick reply.
Could you please post exactly what to change and on which line?

@ignatandrei
Copy link
Owner

I will try to do in 3 days maximum. Thanks for show the localization problem

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

2 participants