You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all, thanks for this amazing app ! I'll buy a pro licence to support when I'll have enough money to do so.
My question is :
Is it possible to support multiple languages depending on the domain name in the retype.ymlfile ?
What I mean by that is something like this :
# Assuming the input property is set such as :# input: ./srclocalisation:
- url: mydomain.comsrc: /en
- url: mydomain.fr # Using another domain that redirects to the same host IPsrc: /fr
- url: de.mydomain.com # Using a subdomainsrc: /de
- url: mydomain.com/nl # Using a pathsrc: /nl
The srcproperty would be appended to the input one if it exists. If not, I don't know, I did not think about a solution yet 😅
The url property would be used to determine the language as you'd want.
I know there are multiple problems that could show up using this way but it's just to explain my question
I hope you have a great day and thanks for reading !
The text was updated successfully, but these errors were encountered:
I think this scenario will be possible to support with the release of Retype v3.0, which will be the next release. At the moment, we do not have a scheduled release date for v3.0, but this particular functionality has already been built and is in the process of testing.
Very interesting, especially with generation in different folders for different domains, in case different languages need to be placed on different domains.
Retype will not multi-target exactly as proposed above, but you can easily achieve the same results by running a custom build using the --override command.
The following sample demonstrates building a project using a French locale:
retype build --override "{ \"locale\": \"fr\" }"
You can target separate input and output locations using the same technique:
Just string together multiple custom build commands to support any number of languages. If you're hosting those separate languages on individual sub-domains, it would be super easy to build and host your original scenario.
We don't have an exact release date for Retype v3.0, but we're moving fast now, so shouldn't be long.
Hi,
first of all, thanks for this amazing app ! I'll buy a pro licence to support when I'll have enough money to do so.
My question is :
Is it possible to support multiple languages depending on the domain name in the
retype.yml
file ?What I mean by that is something like this :
src
property would be appended to theinput
one if it exists. If not, I don't know, I did not think about a solution yet 😅url
property would be used to determine the language as you'd want.I know there are multiple problems that could show up using this way but it's just to explain my question
I hope you have a great day and thanks for reading !
The text was updated successfully, but these errors were encountered: